Re: [PATCH 01/11] qla2xxx: unable to act on RSCN for port online

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nilesh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on e8a1d87b7983b461d1d625e2973cdaadc0bd8ff5]

url:    https://github.com/intel-lab-lkp/linux/commits/Nilesh-Javali/qla2xxx-unable-to-act-on-RSCN-for-port-online/20240618-223303
base:   e8a1d87b7983b461d1d625e2973cdaadc0bd8ff5
patch link:    https://lore.kernel.org/r/20240618133739.35456-2-njavali%40marvell.com
patch subject: [PATCH 01/11] qla2xxx: unable to act on RSCN for port online
config: x86_64-randconfig-161-20240620 (https://download.01.org/0day-ci/archive/20240621/202406210538.w875N70K-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.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/202406210538.w875N70K-lkp@xxxxxxxxx/

smatch warnings:
drivers/scsi/qla2xxx/qla_inline.h:645 val_is_in_range() warn: always true condition '(val <= 4294967295) => (0-u32max <= u32max)'

vim +645 drivers/scsi/qla2xxx/qla_inline.h

   634	
   635	static inline bool val_is_in_range(u32 val, u32 start, u32 end)
   636	{
   637		if (start < end) {
   638			if (val >= start && val <= end)
   639				return true;
   640			else
   641				return false;
   642		}
   643	
   644		/* @end has wrapped */
 > 645		if (val >= start  && val <= 0xffffffffu)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux