Re: [PATCH v2 2/2] drm/bridge: Add ITE IT6162 MIPI DSI to HDMI bridge driver
From: kernel test robot
Date: Mon Mar 09 2026 - 18:28:04 EST
Hi Hermes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 2622649ad6cdbb3e77bfafc8c0fe686090b77f70]
url: https://github.com/intel-lab-lkp/linux/commits/Hermes-Wu-via-B4-Relay/dt-bindings-display-bridge-Add-ITE-IT6162-MIPI-DSI-to-HDMI-bridge/20260309-174457
base: 2622649ad6cdbb3e77bfafc8c0fe686090b77f70
patch link: https://lore.kernel.org/r/20260309-upstream-6162-v2-2-debdb6c88030%40ite.com.tw
patch subject: [PATCH v2 2/2] drm/bridge: Add ITE IT6162 MIPI DSI to HDMI bridge driver
config: xtensa-randconfig-r053-20260310 (https://download.01.org/0day-ci/archive/20260310/202603100655.k9Q6otfR-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 13.4.0
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/202603100655.k9Q6otfR-lkp@xxxxxxxxx/
cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/bridge/ite-it6162.c:861:36-41: WARNING: conversion to bool not needed here
vim +861 drivers/gpu/drm/bridge/ite-it6162.c
846
847 static bool it6162_wait_mcu_ready(struct it6162 *it6162)
848 {
849 struct device *dev = &it6162->it6162_i2c->dev;
850 unsigned int status;
851 int val;
852
853 status = readx_poll_timeout(it6162_wait_ready_event,
854 it6162,
855 val,
856 val == EVENT_READY,
857 100 * 1000,
858 1500 * 1000);
859
860 dev_dbg(dev, "%s status %d val %x", __func__, status, val);
> 861 return val == EVENT_READY ? true : false;
862 }
863
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki