All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 1/1] drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4669:25: sparse: sparse: incorrect type in argument 4 (different base types)
@ 2026-10-16 16:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-16 16:35 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   b9d5e9a3a59c79fd6ec703c9780ab38ad1c0505d
commit: 8be15087d03752ee6b53e54bd962f0ecf9bb5658 [1/1] scsi: hisi_sas: Use macro instead of magic number
config: arm64-randconfig-r2307-20261016 (https://download.01.org/0day-ci/archive/20261016/202610161859.oKWHrBeh-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 8a679464f19c426ef76aad9f4587b703dd3e584d)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261016/202610161859.oKWHrBeh-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/202610161859.oKWHrBeh-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1492:26: sparse: sparse: invalid assignment: |=
   drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1492:26: sparse:    left side has type restricted __le32
   drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1492:26: sparse:    right side has type unsigned int
>> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4669:25: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted __le32 [usertype] *[assigned] ptr @@     got unsigned int * @@
   drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4669:25: sparse:     expected restricted __le32 [usertype] *[assigned] ptr
   drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4669:25: sparse:     got unsigned int *

vim +4669 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c

  4660	
  4661	static int debugfs_fifo_data_v3_hw_show(struct seq_file *s, void *p)
  4662	{
  4663		struct hisi_sas_phy *phy = s->private;
  4664	
  4665		debugfs_read_fifo_data_v3_hw(phy);
  4666	
  4667		debugfs_show_row_32_v3_hw(s, 0,
  4668				HISI_SAS_FIFO_DATA_DW_SIZE * HISI_SAS_REG_MEM_SIZE,
> 4669				phy->fifo.rd_data);
  4670	
  4671		return 0;
  4672	}
  4673	DEFINE_SHOW_ATTRIBUTE(debugfs_fifo_data_v3_hw);
  4674	

--
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-10-16 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 16:35 [android-common:android15-6.6 1/1] drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:4669:25: sparse: sparse: incorrect type in argument 4 (different base types) 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.