lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202107270712.a50O2Grb-lkp@intel.com>
Date:   Tue, 27 Jul 2021 07:35:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     trix@...hat.com, hao.wu@...el.com, mdf@...nel.org
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        linux-fpga@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: Re: [PATCH] fpga: region: handle compat_id as an uuid

Hi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.14-rc3 next-20210726]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/trix-redhat-com/fpga-region-handle-compat_id-as-an-uuid/20210727-042850
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ff1176468d368232b684f75e82563369208bc371
config: x86_64-randconfig-s032-20210726 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/0day-ci/linux/commit/fc6e727a3f214d2b60561c3accc1f054982e2281
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review trix-redhat-com/fpga-region-handle-compat_id-as-an-uuid/20210727-042850
        git checkout fc6e727a3f214d2b60561c3accc1f054982e2281
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/fpga/dfl-fme-mgr.c:278:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned long long [usertype] id_l @@     got restricted __be64 [usertype] @@
   drivers/fpga/dfl-fme-mgr.c:278:18: sparse:     expected unsigned long long [usertype] id_l
   drivers/fpga/dfl-fme-mgr.c:278:18: sparse:     got restricted __be64 [usertype]
>> drivers/fpga/dfl-fme-mgr.c:279:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned long long [usertype] id_h @@     got restricted __be64 [usertype] @@
   drivers/fpga/dfl-fme-mgr.c:279:18: sparse:     expected unsigned long long [usertype] id_h
   drivers/fpga/dfl-fme-mgr.c:279:18: sparse:     got restricted __be64 [usertype]

vim +278 drivers/fpga/dfl-fme-mgr.c

   274	
   275	static void fme_mgr_get_compat_id(void __iomem *fme_pr,
   276					  union fpga_compat_id *id)
   277	{
 > 278		id->id_l = cpu_to_be64(readq(fme_pr + FME_PR_INTFC_ID_L));
 > 279		id->id_h = cpu_to_be64(readq(fme_pr + FME_PR_INTFC_ID_H));
   280	}
   281	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (31853 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ