[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202302140042.eW1R48Z9-lkp@intel.com>
Date: Tue, 14 Feb 2023 01:02:13 +0800
From: kernel test robot <lkp@...el.com>
To: Harsh Jain <h.jain@....com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
thomas.lendacky@....com, Raju.Rangoju@....com,
Shyam-sundar.S-k@....com, harshjain.prof@...il.com,
abhijit.gangurde@....com, puneet.gupta@....com,
nikhil.agarwal@....com, tarak.reddy@....com, netdev@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Harsh Jain <h.jain@....com>
Subject: Re: [PATCH 6/6] net: ethernet: efct: Add maintainer, kconfig,
makefile
Hi Harsh,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on net/master horms-ipvs/master linus/master v6.2-rc8 next-20230213]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Harsh-Jain/net-ethernet-efct-New-X3-net-driver/20230210-210711
patch link: https://lore.kernel.org/r/20230210130321.2898-7-h.jain%40amd.com
patch subject: [PATCH 6/6] net: ethernet: efct: Add maintainer, kconfig, makefile
config: alpha-randconfig-s042-20230212 (https://download.01.org/0day-ci/archive/20230214/202302140042.eW1R48Z9-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/93ed306161ac0259bd72b14922a7f6af60b3748c
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Harsh-Jain/net-ethernet-efct-New-X3-net-driver/20230210-210711
git checkout 93ed306161ac0259bd72b14922a7f6af60b3748c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha SHELL=/bin/bash drivers/net/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302140042.eW1R48Z9-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/amd/efct/efct_pci.c: note: in included file:
>> drivers/net/ethernet/amd/efct/efct_io.h:48:54: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/ethernet/amd/efct/efct_io.h:48:63: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/amd/efct/efct_io.h:48:63: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/ethernet/amd/efct/efct_io.h:48:63: sparse: got unsigned char [usertype] *
drivers/net/ethernet/amd/efct/efct_io.h:49:54: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/amd/efct/efct_io.h:49:63: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/amd/efct/efct_io.h:49:63: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/ethernet/amd/efct/efct_io.h:49:63: sparse: got unsigned char [usertype] *
drivers/net/ethernet/amd/efct/efct_io.h:50:54: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/amd/efct/efct_io.h:50:63: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/amd/efct/efct_io.h:50:63: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/ethernet/amd/efct/efct_io.h:50:63: sparse: got unsigned char [usertype] *
drivers/net/ethernet/amd/efct/efct_io.h:51:54: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/amd/efct/efct_io.h:51:63: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/amd/efct/efct_io.h:51:63: sparse: expected void const volatile [noderef] __iomem *addr
drivers/net/ethernet/amd/efct/efct_io.h:51:63: sparse: got unsigned char [usertype] *
vim +/__iomem +48 drivers/net/ethernet/amd/efct/efct_io.h
83f06a5b784384 Harsh Jain 2023-02-10 40
83f06a5b784384 Harsh Jain 2023-02-10 41 /* Read a 128-bit CSR, locking as appropriate. */
83f06a5b784384 Harsh Jain 2023-02-10 42 static inline void efct_reado(struct efct_device *efct_dev,
83f06a5b784384 Harsh Jain 2023-02-10 43 union efct_oword *value, void __iomem *reg)
83f06a5b784384 Harsh Jain 2023-02-10 44 {
83f06a5b784384 Harsh Jain 2023-02-10 45 unsigned long flags __maybe_unused;
83f06a5b784384 Harsh Jain 2023-02-10 46
83f06a5b784384 Harsh Jain 2023-02-10 47 spin_lock_irqsave(&efct_dev->biu_lock, flags);
83f06a5b784384 Harsh Jain 2023-02-10 @48 value->u32[0] = (__force __le32)__raw_readl((u8 *)reg + 0);
83f06a5b784384 Harsh Jain 2023-02-10 49 value->u32[1] = (__force __le32)__raw_readl((u8 *)reg + 4);
83f06a5b784384 Harsh Jain 2023-02-10 50 value->u32[2] = (__force __le32)__raw_readl((u8 *)reg + 8);
83f06a5b784384 Harsh Jain 2023-02-10 51 value->u32[3] = (__force __le32)__raw_readl((u8 *)reg + 12);
83f06a5b784384 Harsh Jain 2023-02-10 52 spin_unlock_irqrestore(&efct_dev->biu_lock, flags);
83f06a5b784384 Harsh Jain 2023-02-10 53 }
83f06a5b784384 Harsh Jain 2023-02-10 54
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Powered by blists - more mailing lists