All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-lts:6.18/linux 1/1] drivers/media/i2c/lt6911gxd.c:119:9: sparse: sparse: incompatible types in comparison expression (different signedness):
@ 2026-07-11 12:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-11 12:38 UTC (permalink / raw)
  To: Shahidan, Muhammad Shahmil; +Cc: oe-kbuild-all

Hi Muhammad,

First bad commit (maybe != root cause):

tree:   https://github.com/intel/linux-intel-lts.git 6.18/linux
head:   5100e1c74efeba843945492f8d5840e6166c0392
commit: c8916bd5daa29aca311b6d811197dfeb9af3c368 [1/1] Add Lontium sensor support for ipu7
config: powerpc-randconfig-r132-20260711 (https://download.01.org/0day-ci/archive/20260711/202607111926.Iae1B92f-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607111926.Iae1B92f-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/202607111926.Iae1B92f-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/media/i2c/lt6911gxd.c:119:9: sparse: sparse: incompatible types in comparison expression (different signedness):
   drivers/media/i2c/lt6911gxd.c:119:9: sparse:    signed long long *
   drivers/media/i2c/lt6911gxd.c:119:9: sparse:    unsigned long long [usertype] *

vim +119 drivers/media/i2c/lt6911gxd.c

dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  111  
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  112  static s64 get_pixel_rate(struct lt6911gxd *lt6911gxd)
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  113  {
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  114  	s64 pixel_rate;
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  115  
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  116  	pixel_rate = (s64)lt6911gxd->cur_mode.width *
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  117  		     lt6911gxd->cur_mode.height *
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  118  		     lt6911gxd->cur_mode.fps * 16;
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15 @119  	do_div(pixel_rate, lt6911gxd->cur_mode.lanes);
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  120  
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  121  	return pixel_rate;
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  122  }
dab4e1f04f20f6 Shahidan, Muhammad Shahmil 2026-04-15  123  

:::::: The code at line 119 was first introduced by commit
:::::: dab4e1f04f20f6e3fd88b5952d40b7a20d4edd68 Add psys driver and i2c sensor

:::::: TO: Shahidan, Muhammad Shahmil <muhammad.shahmil.shahidan@intel.com>
:::::: CC: Shahidan, Muhammad Shahmil <muhammad.shahmil.shahidan@intel.com>

--
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-07-11 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-11 12:38 [intel-lts:6.18/linux 1/1] drivers/media/i2c/lt6911gxd.c:119:9: sparse: sparse: incompatible types in comparison expression (different signedness): kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.