Hi Hironori, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master v6.14-rc5 next-20250305] [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/Hironori-KIKUCHI/dt-bindings-vendor-prefixes-Add-hothmi-vendor-prefix/20250226-192724 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20250226112552.52494-4-kikuchan98%40gmail.com patch subject: [PATCH v2 3/3] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels config: csky-randconfig-r112-20250306 (https://download.01.org/0day-ci/archive/20250306/202503061541.2JX2lTlc-lkp@xxxxxxxxx/config) compiler: csky-linux-gcc (GCC) 14.2.0 reproduce: (https://download.01.org/0day-ci/archive/20250306/202503061541.2JX2lTlc-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/202503061541.2JX2lTlc-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/panel/panel-mipi.c:407:26: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:408:27: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:410:20: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:424:29: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:425:28: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:426:29: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:427:33: sparse: sparse: cast to restricted __be16 >> drivers/gpu/drm/panel/panel-mipi.c:429:27: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/panel/panel-mipi.c:854:23: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/panel/panel-mipi.c:856:26: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:857:46: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:858:47: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:859:42: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:861:26: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:862:46: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:863:47: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:864:42: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:866:23: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/panel/panel-mipi.c:1047:22: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:1048:23: sparse: sparse: cast to restricted __be16 drivers/gpu/drm/panel/panel-mipi.c:1049:27: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/panel/panel-mipi.c: note: in included file (through include/linux/mutex.h, include/drm/drm_mipi_dbi.h): include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true vim +407 drivers/gpu/drm/panel/panel-mipi.c 392 393 static int panel_mipi_read_firmware(const struct device *dev, 394 struct panel_mipi *mipi, 395 const struct panel_firmware *firmware) 396 { 397 int rotation; 398 int err; 399 400 err = panel_mipi_load_commands(mipi, firmware->commands.data, 401 firmware->commands.size); 402 if (err) { 403 dev_err(dev, "firmware: Malformed command sequence\n"); 404 return err; 405 } 406 > 407 mipi->width_mm = be16_to_cpu(firmware->config->width_mm); 408 mipi->height_mm = be16_to_cpu(firmware->config->height_mm); 409 410 rotation = be16_to_cpu(firmware->config->rotation); 411 if (rotation == 0) 412 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_NORMAL; 413 else if (rotation == 90) 414 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP; 415 else if (rotation == 180) 416 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_BOTTOM_UP; 417 else if (rotation == 270) 418 mipi->orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP; 419 else { 420 dev_err(dev, "firmware: Invalid rotation %u\n", rotation); 421 return -EINVAL; 422 } 423 424 mipi->reset_delay = be16_to_cpu(firmware->config->reset_delay); 425 mipi->init_delay = be16_to_cpu(firmware->config->init_delay); 426 mipi->sleep_delay = be16_to_cpu(firmware->config->sleep_delay); 427 mipi->backlight_delay = be16_to_cpu(firmware->config->backlight_delay); 428 > 429 mipi->bus_flags = be32_to_cpu(firmware->config->bus_flags); 430 431 return 0; 432 } 433 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki