drivers/usb/host/fhci-hcd.c:59:16: sparse: sparse: cast to restricted __be16

From: kernel test robot
Date: Sat Dec 26 2020 - 08:50:27 EST


Hi Rasmus,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 40f78232f97344afbbeb5b0008615f17c4b93466
commit: 5a35435ef4e6e4bd2aabd6706b146b298a9cffe5 soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE
date: 1 year, 1 month ago
config: powerpc-randconfig-s032-20201225 (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-184-g1b896707-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=powerpc

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


"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

236dd4d18f293e3 Anton Vorontsov 2009-01-10 56
236dd4d18f293e3 Anton Vorontsov 2009-01-10 57 u16 fhci_get_sof_timer_count(struct fhci_usb *usb)
236dd4d18f293e3 Anton Vorontsov 2009-01-10 58 {
cf61fdb944534ff Guilherme Maciel Ferreira 2012-06-23 @59 return be16_to_cpu(in_be16(&usb->fhci->regs->usb_ussft) / 12);
236dd4d18f293e3 Anton Vorontsov 2009-01-10 60 }
236dd4d18f293e3 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.ferreira@xxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip