Re: [PATCH] drm/panel: tdo-tl070wsh30: Use devm_drm_panel_add()
From: kernel test robot
Date: Wed Apr 29 2026 - 15:22:51 EST
Hi 박명훈,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on linus/master v7.1-rc1 next-20260428]
[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/drm-panel-tdo-tl070wsh30-Use-devm_drm_panel_add/20260428-215942
base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link: https://lore.kernel.org/r/20260428131855.3501-1-pakmyeonghun%40bagmyeonghun-ui-MacBookPro.local
patch subject: [PATCH] drm/panel: tdo-tl070wsh30: Use devm_drm_panel_add()
config: nios2-randconfig-001-20260430 (https://download.01.org/0day-ci/archive/20260430/202604300328.1HVE9S0R-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604300328.1HVE9S0R-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604300328.1HVE9S0R-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c: In function 'tdo_tl070wsh30_panel_remove':
>> drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c:201:38: warning: unused variable 'tdo_tl070wsh30' [-Wunused-variable]
201 | struct tdo_tl070wsh30_panel *tdo_tl070wsh30 = mipi_dsi_get_drvdata(dsi);
| ^~~~~~~~~~~~~~
vim +/tdo_tl070wsh30 +201 drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c
cf40c66005920a Neil Armstrong 2020-09-15 198
79abca2b399009 Uwe Kleine-König 2022-07-08 199 static void tdo_tl070wsh30_panel_remove(struct mipi_dsi_device *dsi)
cf40c66005920a Neil Armstrong 2020-09-15 200 {
cf40c66005920a Neil Armstrong 2020-09-15 @201 struct tdo_tl070wsh30_panel *tdo_tl070wsh30 = mipi_dsi_get_drvdata(dsi);
cf40c66005920a Neil Armstrong 2020-09-15 202 int err;
cf40c66005920a Neil Armstrong 2020-09-15 203
cf40c66005920a Neil Armstrong 2020-09-15 204 err = mipi_dsi_detach(dsi);
cf40c66005920a Neil Armstrong 2020-09-15 205 if (err < 0)
cf40c66005920a Neil Armstrong 2020-09-15 206 dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", err);
cf40c66005920a Neil Armstrong 2020-09-15 207
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki