Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] drm/panel: Replace deprecated DCS display-on calls
       [not found] <20261104073813.42429-1-amittibi123@gmail.com>
@ 2026-11-07 21:44 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-07 21:44 UTC (permalink / raw)
  To: amit, neil.armstrong
  Cc: llvm, oe-kbuild-all, hanxu5, jesszhan0024, maarten.lankhorst,
	mripard, tzimmermann, airlied, simona, icenowy, jagan, linusw,
	robert.chiras, dri-devel, linux-kernel, amit

Hi amit,

kernel test robot noticed the following build warnings:

[auto build test WARNING on v7.4-rc1]
[also build test WARNING on linus/master next-20261105]
[cannot apply to drm-misc/drm-misc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/amit/drm-panel-Replace-deprecated-DCS-display-on-calls/20261104-093813
base:   v7.4-rc1
patch link:    https://lore.kernel.org/r/20261104073813.42429-1-amittibi123%40gmail.com
patch subject: [PATCH] drm/panel: Replace deprecated DCS display-on calls
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20261108/202611080509.DZUY4PHf-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261108/202611080509.DZUY4PHf-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/202611080509.DZUY4PHf-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c:356:10: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
     356 |                 return ret;
         |                        ^~~
   drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c:350:9: note: initialize the variable 'ret' to silence this warning
     350 |         int ret;
         |                ^
         |                 = 0
   1 warning generated.


vim +/ret +356 drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c

fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  342  
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  343  static int k101_im2ba02_enable(struct drm_panel *panel)
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  344  {
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  345  	struct k101_im2ba02 *ctx = panel_to_k101_im2ba02(panel);
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  346  	const struct k101_im2ba02_init_cmd *cmd = &timed_cmds[1];
7bb5e5e01ffc36b amit          2026-11-04  347  	struct mipi_dsi_multi_context dsi_ctx = {
7bb5e5e01ffc36b amit          2026-11-04  348  		.dsi = ctx->dsi,
7bb5e5e01ffc36b amit          2026-11-04  349  	};
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  350  	int ret;
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  351  
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  352  	msleep(150);
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  353  
7bb5e5e01ffc36b amit          2026-11-04  354  	mipi_dsi_dcs_set_display_on_multi(&dsi_ctx);
7bb5e5e01ffc36b amit          2026-11-04  355  	if (dsi_ctx.accum_err)
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16 @356  		return ret;
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  357  
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  358  	msleep(50);
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  359  
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  360  	return mipi_dsi_dcs_write_buffer(ctx->dsi, cmd->data, K101_IM2BA02_INIT_CMD_LEN);
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  361  }
fac47b1ebeda3b5 Icenowy Zheng 2020-01-16  362  

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-07 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261104073813.42429-1-amittibi123@gmail.com>
2026-11-07 21:44 ` [PATCH] drm/panel: Replace deprecated DCS display-on calls kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox