tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f11901ed723d1351843771c3a84b03a253bbf8b2
commit: 5a35435ef4e6e4bd2aabd6706b146b298a9cffe5 soc: fsl: qe: remove PPC32 
dependency from CONFIG_QUICC_ENGINE
date:   11 months ago
config: powerpc64-randconfig-s031-20201024 (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.3-17-g2d3af347-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a35435ef4e6e4bd2aabd6706b146b298a9cffe5
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 5a35435ef4e6e4bd2aabd6706b146b298a9cffe5
        # 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=powerpc64 

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


"sparse warnings: (new ones prefixed by >>)"
   drivers/usb/host/fhci-hcd.c:39:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:39:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:39:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:41:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:41:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:41:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:59:16: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:59:16: sparse:     expected unsigned short const 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:59:16: sparse:     got restricted __be16 
[noderef] <asn:2> *
>> drivers/usb/host/fhci-hcd.c:59:16: sparse: sparse: cast to restricted __be16
   drivers/usb/host/fhci-hcd.c:89:36: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:89:36: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:89:36: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:90:36: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:90:36: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:90:36: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:110:36: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:110:36: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:110:36: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:120:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:120:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:120:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:121:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:121:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:121:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:275:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:275:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:275:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:278:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned int volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be32 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:278:23: sparse:     expected unsigned int 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:278:23: sparse:     got restricted __be32 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:289:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:289:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:289:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:292:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:292:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:292:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:744:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:744:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:744:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c:745:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hcd.c:745:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hcd.c:745:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hcd.c: note: in included file:
   drivers/usb/host/fhci.h:448:29: sparse: sparse: incorrect type in argument 1 
(different base types) @@     expected unsigned short const volatile [noderef] 
[usertype] <asn:2> *addr @@     got restricted __be16 [noderef] <asn:2> * @@
   drivers/usb/host/fhci.h:448:29: sparse:     expected unsigned short const 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci.h:448:29: sparse:     got restricted __be16 [noderef] 
<asn:2> *
--
   drivers/usb/host/fhci-hub.c:96:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hub.c:96:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hub.c:96:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
>> drivers/usb/host/fhci-hub.c:101:42: sparse: sparse: invalid assignment: &=
>> drivers/usb/host/fhci-hub.c:101:42: sparse:    left side has type restricted 
>> __le16
>> drivers/usb/host/fhci-hub.c:101:42: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:102:42: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:102:42: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:102:42: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:122:42: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:122:42: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:122:42: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:123:42: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:123:42: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:123:42: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:161:29: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hub.c:161:29: sparse:     expected unsigned short 
const volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hub.c:161:29: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hub.c:162:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hub.c:162:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hub.c:162:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-hub.c:167:23: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-hub.c:167:23: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-hub.c:167:23: sparse:     got restricted __be16 
[noderef] <asn:2> *
>> drivers/usb/host/fhci-hub.c:187:34: sparse: sparse: restricted __le16 
>> degrades to integer
   drivers/usb/host/fhci-hub.c:230:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:230:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:230:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:235:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:235:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:235:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:239:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:239:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:239:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:244:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:244:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:244:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:248:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:248:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:248:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:253:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:253:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:253:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:257:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:257:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:257:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:261:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:261:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:261:59: sparse:    right side has type int
>> drivers/usb/host/fhci-hub.c:274:21: sparse: sparse: cast from restricted 
>> __le16
>> drivers/usb/host/fhci-hub.c:274:21: sparse: sparse: incorrect type in 
>> argument 1 (different base types) @@     expected unsigned short [usertype] 
>> val @@     got restricted __le16 [usertype] wHubStatus @@
>> drivers/usb/host/fhci-hub.c:274:21: sparse:     expected unsigned short 
>> [usertype] val
>> drivers/usb/host/fhci-hub.c:274:21: sparse:     got restricted __le16 
>> [usertype] wHubStatus
>> drivers/usb/host/fhci-hub.c:274:21: sparse: sparse: cast from restricted 
>> __le16
>> drivers/usb/host/fhci-hub.c:274:21: sparse: sparse: cast from restricted 
>> __le16
   drivers/usb/host/fhci-hub.c:276:21: sparse: sparse: cast from restricted 
__le16
>> drivers/usb/host/fhci-hub.c:276:21: sparse: sparse: incorrect type in 
>> argument 1 (different base types) @@     expected unsigned short [usertype] 
>> val @@     got restricted __le16 [usertype] wHubChange @@
   drivers/usb/host/fhci-hub.c:276:21: sparse:     expected unsigned short 
[usertype] val
>> drivers/usb/host/fhci-hub.c:276:21: sparse:     got restricted __le16 
>> [usertype] wHubChange
   drivers/usb/host/fhci-hub.c:276:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:276:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:281:21: sparse: sparse: cast from restricted 
__le16
>> drivers/usb/host/fhci-hub.c:281:21: sparse: sparse: incorrect type in 
>> argument 1 (different base types) @@     expected unsigned short [usertype] 
>> val @@     got restricted __le16 [usertype] wPortStatus @@
   drivers/usb/host/fhci-hub.c:281:21: sparse:     expected unsigned short 
[usertype] val
>> drivers/usb/host/fhci-hub.c:281:21: sparse:     got restricted __le16 
>> [usertype] wPortStatus
   drivers/usb/host/fhci-hub.c:281:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:281:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:283:21: sparse: sparse: cast from restricted 
__le16
>> drivers/usb/host/fhci-hub.c:283:21: sparse: sparse: incorrect type in 
>> argument 1 (different base types) @@     expected unsigned short [usertype] 
>> val @@     got restricted __le16 [usertype] wPortChange @@
   drivers/usb/host/fhci-hub.c:283:21: sparse:     expected unsigned short 
[usertype] val
>> drivers/usb/host/fhci-hub.c:283:21: sparse:     got restricted __le16 
>> [usertype] wPortChange
   drivers/usb/host/fhci-hub.c:283:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:283:21: sparse: sparse: cast from restricted 
__le16
   drivers/usb/host/fhci-hub.c:299:59: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:299:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:299:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:304:59: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:304:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:304:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:309:59: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:309:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:309:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:312:59: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:312:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:312:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:314:59: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-hub.c:314:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:314:59: sparse:    right side has type int
   drivers/usb/host/fhci-hub.c:318:59: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-hub.c:318:59: sparse:    left side has type restricted 
__le16
   drivers/usb/host/fhci-hub.c:318:59: sparse:    right side has type int
--
   drivers/usb/host/fhci-sched.c:146:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:146:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:146:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:340:37: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:340:37: sparse:     expected unsigned short 
const volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:340:37: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:348:53: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:348:53: sparse:     expected unsigned short 
const volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:348:53: sparse:     got restricted __be16 
[noderef] <asn:2> *
>> drivers/usb/host/fhci-sched.c:404:34: sparse: sparse: restricted __le16 
>> degrades to integer
   drivers/usb/host/fhci-sched.c:405:35: sparse: sparse: restricted __le16 
degrades to integer
   drivers/usb/host/fhci-sched.c:406:41: sparse: sparse: restricted __le16 
degrades to integer
   drivers/usb/host/fhci-sched.c:412:36: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:412:36: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:412:36: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:438:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:438:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:438:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
>> drivers/usb/host/fhci-sched.c:440:42: sparse: sparse: invalid assignment: &=
>> drivers/usb/host/fhci-sched.c:440:42: sparse:    left side has type 
>> restricted __le16
>> drivers/usb/host/fhci-sched.c:440:42: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:441:42: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-sched.c:441:42: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:441:42: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:472:50: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-sched.c:472:50: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:472:50: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:475:50: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-sched.c:475:50: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:475:50: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:490:50: sparse: sparse: invalid assignment: &=
   drivers/usb/host/fhci-sched.c:490:50: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:490:50: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:492:50: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-sched.c:492:50: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:492:50: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:494:50: sparse: sparse: invalid assignment: |=
   drivers/usb/host/fhci-sched.c:494:50: sparse:    left side has type 
restricted __le16
   drivers/usb/host/fhci-sched.c:494:50: sparse:    right side has type int
   drivers/usb/host/fhci-sched.c:553:37: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:553:37: sparse:     expected unsigned short 
const volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:553:37: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:554:37: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short const volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:554:37: sparse:     expected unsigned short 
const volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:554:37: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:557:28: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:557:28: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:557:28: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:571:44: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:571:44: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:571:44: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c:609:44: sparse: sparse: incorrect type in 
argument 1 (different base types) @@     expected unsigned short volatile 
[noderef] [usertype] <asn:2> *addr @@     got restricted __be16 [noderef] 
<asn:2> * @@
   drivers/usb/host/fhci-sched.c:609:44: sparse:     expected unsigned short 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci-sched.c:609:44: sparse:     got restricted __be16 
[noderef] <asn:2> *
   drivers/usb/host/fhci-sched.c: note: in included file:
   drivers/usb/host/fhci.h:448:29: sparse: sparse: incorrect type in argument 1 
(different base types) @@     expected unsigned short const volatile [noderef] 
[usertype] <asn:2> *addr @@     got restricted __be16 [noderef] <asn:2> * @@
   drivers/usb/host/fhci.h:448:29: sparse:     expected unsigned short const 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci.h:448:29: sparse:     got restricted __be16 [noderef] 
<asn:2> *
   drivers/usb/host/fhci.h:448:29: sparse: sparse: incorrect type in argument 1 
(different base types) @@     expected unsigned short const volatile [noderef] 
[usertype] <asn:2> *addr @@     got restricted __be16 [noderef] <asn:2> * @@
   drivers/usb/host/fhci.h:448:29: sparse:     expected unsigned short const 
volatile [noderef] [usertype] <asn:2> *addr
   drivers/usb/host/fhci.h:448:29: sparse:     got restricted __be16 [noderef] 
<asn:2> *

vim +59 drivers/usb/host/fhci-hcd.c

236dd4d18f293e Anton Vorontsov           2009-01-10  33  
236dd4d18f293e Anton Vorontsov           2009-01-10  34  void 
fhci_start_sof_timer(struct fhci_hcd *fhci)
236dd4d18f293e Anton Vorontsov           2009-01-10  35  {
236dd4d18f293e Anton Vorontsov           2009-01-10  36         fhci_dbg(fhci, 
"-> %s\n", __func__);
236dd4d18f293e Anton Vorontsov           2009-01-10  37  
236dd4d18f293e Anton Vorontsov           2009-01-10  38         /* clear 
frame_n */
236dd4d18f293e Anton Vorontsov           2009-01-10 @39         
out_be16(&fhci->pram->frame_num, 0);
236dd4d18f293e Anton Vorontsov           2009-01-10  40  
cf61fdb944534f Guilherme Maciel Ferreira 2012-06-23  41         
out_be16(&fhci->regs->usb_ussft, 0);
cf61fdb944534f Guilherme Maciel Ferreira 2012-06-23  42         
setbits8(&fhci->regs->usb_usmod, USB_MODE_SFTE);
236dd4d18f293e Anton Vorontsov           2009-01-10  43  
236dd4d18f293e Anton Vorontsov           2009-01-10  44         fhci_dbg(fhci, 
"<- %s\n", __func__);
236dd4d18f293e Anton Vorontsov           2009-01-10  45  }
236dd4d18f293e Anton Vorontsov           2009-01-10  46  
236dd4d18f293e Anton Vorontsov           2009-01-10  47  void 
fhci_stop_sof_timer(struct fhci_hcd *fhci)
236dd4d18f293e Anton Vorontsov           2009-01-10  48  {
236dd4d18f293e Anton Vorontsov           2009-01-10  49         fhci_dbg(fhci, 
"-> %s\n", __func__);
236dd4d18f293e Anton Vorontsov           2009-01-10  50  
cf61fdb944534f Guilherme Maciel Ferreira 2012-06-23  51         
clrbits8(&fhci->regs->usb_usmod, USB_MODE_SFTE);
236dd4d18f293e Anton Vorontsov           2009-01-10  52         
gtm_stop_timer16(fhci->timer);
236dd4d18f293e Anton Vorontsov           2009-01-10  53  
236dd4d18f293e Anton Vorontsov           2009-01-10  54         fhci_dbg(fhci, 
"<- %s\n", __func__);
236dd4d18f293e Anton Vorontsov           2009-01-10  55  }
236dd4d18f293e Anton Vorontsov           2009-01-10  56  
236dd4d18f293e Anton Vorontsov           2009-01-10  57  u16 
fhci_get_sof_timer_count(struct fhci_usb *usb)
236dd4d18f293e Anton Vorontsov           2009-01-10  58  {
cf61fdb944534f Guilherme Maciel Ferreira 2012-06-23 @59         return 
be16_to_cpu(in_be16(&usb->fhci->regs->usb_ussft) / 12);
236dd4d18f293e Anton Vorontsov           2009-01-10  60  }
236dd4d18f293e Anton Vorontsov           2009-01-10  61  

:::::: The code at line 59 was first introduced by commit
:::::: cf61fdb944534ffa84a824bb8c31a3826cdc169d USB: FHCI: Reusing QUICC Engine 
USB Controller registers from immap_qe.h

:::::: TO: Guilherme Maciel Ferreira <guilherme.maciel.ferre...@gmail.com>
:::::: CC: Greg Kroah-Hartman <gre...@linuxfoundation.org>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to