Hi Abhishek,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on awilliam-vfio/next]
[also build test WARNING on v5.17-rc1 next-20220124]
[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/Abhishek-Sahu/vfio-pci-Enable-ru...
base:
https://github.com/awilliam/linux-vfio.git next
config: x86_64-randconfig-s022-20220124
(
https://download.01.org/0day-ci/archive/20220125/202201251024.DoqLcJkP-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
#
https://github.com/0day-ci/linux/commit/84afeb78e3ae55e0f1c1f84d42e28c605...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Abhishek-Sahu/vfio-pci-Enable-runtime-power-management-support/20220125-021827
git checkout 84afeb78e3ae55e0f1c1f84d42e28c60585fdc48
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/vfio/pci/ mm/kasan/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/vfio/pci/vfio_pci_rdwr.c:64:1: sparse: sparse: restricted
pci_power_t degrades to integer
> drivers/vfio/pci/vfio_pci_rdwr.c:64:1: sparse: sparse: restricted pci_power_t
degrades to integer
drivers/vfio/pci/vfio_pci_rdwr.c:65:1: sparse: sparse:
restricted pci_power_t degrades to integer
drivers/vfio/pci/vfio_pci_rdwr.c:65:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:66:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:66:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:95:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:95:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:96:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:96:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:97:1: sparse: sparse: restricted pci_power_t degrades
to integer
drivers/vfio/pci/vfio_pci_rdwr.c:97:1: sparse: sparse: restricted pci_power_t degrades
to integer
vim +64 drivers/vfio/pci/vfio_pci_rdwr.c
bc93b9ae0151ae Alex Williamson 2020-08-17 63
bc93b9ae0151ae Alex Williamson 2020-08-17 @64 VFIO_IOWRITE(8)
bc93b9ae0151ae Alex Williamson 2020-08-17 65 VFIO_IOWRITE(16)
bc93b9ae0151ae Alex Williamson 2020-08-17 66 VFIO_IOWRITE(32)
bc93b9ae0151ae Alex Williamson 2020-08-17 67 #ifdef iowrite64
bc93b9ae0151ae Alex Williamson 2020-08-17 68 VFIO_IOWRITE(64)
bc93b9ae0151ae Alex Williamson 2020-08-17 69 #endif
bc93b9ae0151ae Alex Williamson 2020-08-17 70
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org