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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202007241125.RZVTZiq9%lkp@intel.com>
Date:   Fri, 24 Jul 2020 11:17:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse: sparse:
 incorrect type in argument 1 (different base types)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d15be546031cf65a0fc34879beca02fd90fe7ac7
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   5 weeks ago
config: powerpc-randconfig-s032-20200723 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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.2-93-g4c6cbe55-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc 

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 >>)

>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
>> arch/powerpc/platforms/82xx/mpc8272_ads.c:163:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:164:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:166:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:167:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/mpc8272_ads.c:169:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
--
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
>> arch/powerpc/platforms/82xx/pq2fads.c:140:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:141:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:143:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem * @@
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   arch/powerpc/platforms/82xx/pq2fads.c:144:9: sparse:     got restricted __be32 [noderef] [usertype] __iomem *
--
>> drivers/net/ethernet/apple/mace.c:510:17: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int volatile [noderef] __iomem control @@     got restricted __le32 [usertype] @@
>> drivers/net/ethernet/apple/mace.c:510:17: sparse:     expected unsigned int volatile [noderef] __iomem control
   drivers/net/ethernet/apple/mace.c:510:17: sparse:     got restricted __le32 [usertype]
   drivers/net/ethernet/apple/mace.c:511:17: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int volatile [noderef] __iomem control @@     got restricted __le32 [usertype] @@
   drivers/net/ethernet/apple/mace.c:511:17: sparse:     expected unsigned int volatile [noderef] __iomem control
   drivers/net/ethernet/apple/mace.c:511:17: sparse:     got restricted __le32 [usertype]
>> drivers/net/ethernet/apple/mace.c:563:15: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
>> drivers/net/ethernet/apple/mace.c:563:15: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:563:15: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:569:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:569:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:569:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:570:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:570:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:570:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:790:23: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:790:23: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:790:23: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:791:23: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:791:23: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:791:23: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:904:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:904:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:904:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:966:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:966:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:966:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:967:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:967:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:967:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:833:15: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:833:15: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:833:15: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:853:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:853:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:853:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:854:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/mace.c:854:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/mace.c:854:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:313:13: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:692:17: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/mace.c:831:22: sparse: sparse: dereference of noderef expression
--
>> drivers/net/ethernet/apple/bmac.c:1407:21: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int volatile [noderef] __iomem control @@     got restricted __le32 [usertype] @@
>> drivers/net/ethernet/apple/bmac.c:1407:21: sparse:     expected unsigned int volatile [noderef] __iomem control
   drivers/net/ethernet/apple/bmac.c:1407:21: sparse:     got restricted __le32 [usertype]
   drivers/net/ethernet/apple/bmac.c:1408:21: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int volatile [noderef] __iomem control @@     got restricted __le32 [usertype] @@
   drivers/net/ethernet/apple/bmac.c:1408:21: sparse:     expected unsigned int volatile [noderef] __iomem control
   drivers/net/ethernet/apple/bmac.c:1408:21: sparse:     got restricted __le32 [usertype]
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: cast to restricted __le32
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: dereference of noderef expression
>> drivers/net/ethernet/apple/bmac.c:1504:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
>> drivers/net/ethernet/apple/bmac.c:1504:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:1504:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:1523:27: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:1523:27: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:1523:27: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:1524:27: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:1524:27: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:1524:27: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:201:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:201:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:201:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:202:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:202:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:202:19: sparse:     got restricted __le16 volatile *
>> drivers/net/ethernet/apple/bmac.c:203:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __le32 volatile * @@
>> drivers/net/ethernet/apple/bmac.c:203:19: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:203:19: sparse:     got restricted __le32 volatile *
   drivers/net/ethernet/apple/bmac.c:204:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int volatile [noderef] [usertype] __iomem *addr @@     got restricted __le32 volatile * @@
   drivers/net/ethernet/apple/bmac.c:204:19: sparse:     expected unsigned int volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:204:19: sparse:     got restricted __le32 volatile *
   drivers/net/ethernet/apple/bmac.c:205:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:205:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:205:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:206:19: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned short volatile [noderef] [usertype] __iomem *addr @@     got restricted __le16 volatile * @@
   drivers/net/ethernet/apple/bmac.c:206:19: sparse:     expected unsigned short volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/apple/bmac.c:206:19: sparse:     got restricted __le16 volatile *
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: dereference of noderef expression
   drivers/net/ethernet/apple/bmac.c:1502:26: sparse: sparse: dereference of noderef expression
--
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:95:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:95:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:95:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:97:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:97:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:97:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:100:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:100:24: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:100:24: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:63:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dir @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:63:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
>> drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:63:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dir
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:65:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dir @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:65:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:65:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dir
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:68:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem *dir @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:68:24: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:68:24: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dir
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:82:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:82:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:82:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:84:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:84:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:84:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:87:24: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int const volatile [noderef] [usertype] __iomem *addr @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:87:24: sparse:     expected unsigned int const volatile [noderef] [usertype] __iomem *addr
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:87:24: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:74:31: sparse: sparse: incorrect type in argument 1 (different base types) @@     expected unsigned int [noderef] [usertype] __iomem *p @@     got restricted __be32 [noderef] [usertype] __iomem *dat @@
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:74:31: sparse:     expected unsigned int [noderef] [usertype] __iomem *p
   drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c:74:31: sparse:     got restricted __be32 [noderef] [usertype] __iomem *dat
--
>> drivers/net/ethernet/marvell/mv643xx_eth.c:1946:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct rx_desc *rx_desc_area @@     got void [noderef] __iomem * @@
   drivers/net/ethernet/marvell/mv643xx_eth.c:1946:35: sparse:     expected struct rx_desc *rx_desc_area
>> drivers/net/ethernet/marvell/mv643xx_eth.c:1946:35: sparse:     got void [noderef] __iomem *
>> drivers/net/ethernet/marvell/mv643xx_eth.c:1985:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct rx_desc *rx_desc_area @@
>> drivers/net/ethernet/marvell/mv643xx_eth.c:1985:28: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/ethernet/marvell/mv643xx_eth.c:1985:28: sparse:     got struct rx_desc *rx_desc_area
   drivers/net/ethernet/marvell/mv643xx_eth.c:2016:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct rx_desc *rx_desc_area @@
   drivers/net/ethernet/marvell/mv643xx_eth.c:2016:28: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/ethernet/marvell/mv643xx_eth.c:2016:28: sparse:     got struct rx_desc *rx_desc_area
>> drivers/net/ethernet/marvell/mv643xx_eth.c:2050:35: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected struct tx_desc *tx_desc_area @@     got void [noderef] __iomem * @@
   drivers/net/ethernet/marvell/mv643xx_eth.c:2050:35: sparse:     expected struct tx_desc *tx_desc_area
   drivers/net/ethernet/marvell/mv643xx_eth.c:2050:35: sparse:     got void [noderef] __iomem *
>> drivers/net/ethernet/marvell/mv643xx_eth.c:2105:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct tx_desc *tx_desc_area @@
   drivers/net/ethernet/marvell/mv643xx_eth.c:2105:28: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/ethernet/marvell/mv643xx_eth.c:2105:28: sparse:     got struct tx_desc *tx_desc_area
   drivers/net/ethernet/marvell/mv643xx_eth.c:2123:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct tx_desc *tx_desc_area @@
   drivers/net/ethernet/marvell/mv643xx_eth.c:2123:28: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/net/ethernet/marvell/mv643xx_eth.c:2123:28: sparse:     got struct tx_desc *tx_desc_area

vim +163 arch/powerpc/platforms/82xx/mpc8272_ads.c

a70e88bc78d220a arch/powerpc/platforms/82xx/mpc8272_ads.c Anton Vorontsov 2009-08-19  162  
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14 @163  	clrbits32(&bcsr[1], BCSR1_RS232_EN1 | BCSR1_RS232_EN2 | BCSR1_FETHIEN);
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  164  	setbits32(&bcsr[1], BCSR1_FETH_RST);
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  165  
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  166  	clrbits32(&bcsr[3], BCSR3_FETHIEN2);
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  167  	setbits32(&bcsr[3], BCSR3_FETH2_RST);
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  168  
818fcac554397a0 arch/powerpc/platforms/82xx/mpc8272_ads.c Anton Vorontsov 2009-08-19  169  	clrbits32(&bcsr[3], BCSR3_USB_nEN);
818fcac554397a0 arch/powerpc/platforms/82xx/mpc8272_ads.c Anton Vorontsov 2009-08-19  170  
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  171  	iounmap(bcsr);
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  172  
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  173  	init_ioports();
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  174  	pq2_init_pci();
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  175  
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  176  	if (ppc_md.progress)
e00c5498a2a6149 arch/powerpc/platforms/82xx/mpc8272_ads.c Scott Wood      2007-09-14  177  		ppc_md.progress("mpc8272_ads_setup_arch(), finish", 0);
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  178  }
91bd61099defb28 arch/powerpc/platforms/82xx/mpc82xx_ads.c Vitaly Bordug   2006-10-02  179  

:::::: The code at line 163 was first introduced by commit
:::::: e00c5498a2a614931cbb7d88a53979d5d47594e1 [POWERPC] mpc82xx: Update mpc8272ads, and factor out PCI and reset.

:::::: TO: Scott Wood <scottwood@...escale.com>
:::::: CC: Kumar Gala <galak@...nel.crashing.org>

---
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" (29419 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ