tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 852be13f3bd32c1eab808840cfac41b1fea25991 commit: 9402cde9347eca050e14ea9e47270e84a6899162 [3/7] drm/panel: vtdr6130: Use 16-bit brightness function config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230119/202301191956.s3AcGxpU-lkp@xxxxxxxxx/config) compiler: sparc64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc git fetch --no-tags drm-misc drm-misc-next git checkout 9402cde9347eca050e14ea9e47270e84a6899162 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/panel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/gpu/drm/panel/panel-visionox-vtdr6130.c: In function 'visionox_vtdr6130_bl_update_status': >> drivers/gpu/drm/panel/panel-visionox-vtdr6130.c:249:12: warning: 'ret' is used uninitialized [-Wuninitialized] 249 | if (ret < 0) | ^ drivers/gpu/drm/panel/panel-visionox-vtdr6130.c:246:13: note: 'ret' was declared here 246 | int ret; | ^~~ vim +/ret +249 drivers/gpu/drm/panel/panel-visionox-vtdr6130.c 2349183d32d83a Neil Armstrong 2023-01-09 241 2349183d32d83a Neil Armstrong 2023-01-09 242 static int visionox_vtdr6130_bl_update_status(struct backlight_device *bl) 2349183d32d83a Neil Armstrong 2023-01-09 243 { 2349183d32d83a Neil Armstrong 2023-01-09 244 struct mipi_dsi_device *dsi = bl_get_data(bl); 2349183d32d83a Neil Armstrong 2023-01-09 245 u16 brightness = backlight_get_brightness(bl); 2349183d32d83a Neil Armstrong 2023-01-09 246 int ret; 2349183d32d83a Neil Armstrong 2023-01-09 247 9402cde9347eca Richard Acayan 2023-01-16 248 mipi_dsi_dcs_set_display_brightness_large(dsi, brightness); 2349183d32d83a Neil Armstrong 2023-01-09 @249 if (ret < 0) 2349183d32d83a Neil Armstrong 2023-01-09 250 return ret; 2349183d32d83a Neil Armstrong 2023-01-09 251 2349183d32d83a Neil Armstrong 2023-01-09 252 return 0; 2349183d32d83a Neil Armstrong 2023-01-09 253 } 2349183d32d83a Neil Armstrong 2023-01-09 254 :::::: The code at line 249 was first introduced by commit :::::: 2349183d32d83a7635baa804934813bcad13fd62 drm/panel: add visionox vtdr6130 DSI panel driver :::::: TO: Neil Armstrong <neil.armstrong@xxxxxxxxxx> :::::: CC: Neil Armstrong <neil.armstrong@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests