All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Shahidan, Muhammad Shahmil" <muhammad.shahmil.shahidan@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [intel-lts:6.18/linux 1/1] drivers/media/i2c/lt6911gxd.c:119:9: sparse: sparse: incompatible types in comparison expression (different signedness):
Date: Sat, 11 Jul 2026 20:38:36 +0800	[thread overview]
Message-ID: <202607111926.Iae1B92f-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-07-11 12:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607111926.Iae1B92f-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=muhammad.shahmil.shahidan@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.