linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Douglas Anderson <dianders@chromium.org>
Subject: [linux-next:master 7644/8126] drivers/gpu/drm/panel/panel-visionox-vtdr6130.c:255:15: error: implicit declaration of function 'devm_regulator_bulk_get_const'; did you mean 'devm_regulator_bulk_get_enable'?
Date: Fri, 30 Aug 2024 18:17:46 +0800	[thread overview]
Message-ID: <202408301813.TesFuSbh-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   985bf40edf4343dcb04c33f58b40b4a85c1776d4
commit: e0cb0c785250d0565c19ba17fc95bd7ab97670ba [7644/8126] drm/panel: visionox-vtdr6130: switch to devm_regulator_bulk_get_const
config: openrisc-randconfig-r022-20230730 (https://download.01.org/0day-ci/archive/20240830/202408301813.TesFuSbh-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240830/202408301813.TesFuSbh-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408301813.TesFuSbh-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/panel/panel-visionox-vtdr6130.c: In function 'visionox_vtdr6130_probe':
>> drivers/gpu/drm/panel/panel-visionox-vtdr6130.c:255:15: error: implicit declaration of function 'devm_regulator_bulk_get_const'; did you mean 'devm_regulator_bulk_get_enable'? [-Werror=implicit-function-declaration]
     255 |         ret = devm_regulator_bulk_get_const(&dsi->dev,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |               devm_regulator_bulk_get_enable
   cc1: some warnings being treated as errors


vim +255 drivers/gpu/drm/panel/panel-visionox-vtdr6130.c

   244	
   245	static int visionox_vtdr6130_probe(struct mipi_dsi_device *dsi)
   246	{
   247		struct device *dev = &dsi->dev;
   248		struct visionox_vtdr6130 *ctx;
   249		int ret;
   250	
   251		ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL);
   252		if (!ctx)
   253			return -ENOMEM;
   254	
 > 255		ret = devm_regulator_bulk_get_const(&dsi->dev,
   256						    ARRAY_SIZE(visionox_vtdr6130_supplies),
   257						    visionox_vtdr6130_supplies,
   258						    &ctx->supplies);
   259		if (ret < 0)
   260			return ret;
   261	
   262		ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
   263		if (IS_ERR(ctx->reset_gpio))
   264			return dev_err_probe(dev, PTR_ERR(ctx->reset_gpio),
   265					     "Failed to get reset-gpios\n");
   266	
   267		ctx->dsi = dsi;
   268		mipi_dsi_set_drvdata(dsi, ctx);
   269	
   270		dsi->lanes = 4;
   271		dsi->format = MIPI_DSI_FMT_RGB888;
   272		dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_NO_EOT_PACKET |
   273				  MIPI_DSI_CLOCK_NON_CONTINUOUS;
   274		ctx->panel.prepare_prev_first = true;
   275	
   276		drm_panel_init(&ctx->panel, dev, &visionox_vtdr6130_panel_funcs,
   277			       DRM_MODE_CONNECTOR_DSI);
   278	
   279		ctx->panel.backlight = visionox_vtdr6130_create_backlight(dsi);
   280		if (IS_ERR(ctx->panel.backlight))
   281			return dev_err_probe(dev, PTR_ERR(ctx->panel.backlight),
   282					     "Failed to create backlight\n");
   283	
   284		drm_panel_add(&ctx->panel);
   285	
   286		ret = mipi_dsi_attach(dsi);
   287		if (ret < 0) {
   288			dev_err(dev, "Failed to attach to DSI host: %d\n", ret);
   289			drm_panel_remove(&ctx->panel);
   290			return ret;
   291		}
   292	
   293		return 0;
   294	}
   295	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


             reply	other threads:[~2024-08-30 10:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-30 10:17 kernel test robot [this message]
2024-08-30 14:15 ` Doug Anderson
2024-08-30 14:39   ` Doug Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408301813.TesFuSbh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dianders@chromium.org \
    --cc=linux-mm@kvack.org \
    --cc=neil.armstrong@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox