[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006222333.rf8UYcbF%lkp@intel.com>
Date: Mon, 22 Jun 2020 23:35:42 +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: drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf
__rcu COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS
Makefile README arch block certs crypto drivers fs include init ipc kernel
lib mm net samples scripts security sound tools usr virt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 625d3449788f85569096780592549d0340e9c0c7
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date: 4 days ago
config: arc-randconfig-s031-20200622 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-dirty
git checkout 670d0a4b10704667765f7d18f7592993d02783aa
# save the attached .config to linux build tree
make W=1 C=1 ARCH=arc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
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 >>)
drivers/block/drbd/drbd_bitmap.c:495:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long [assigned] mask @@ got restricted __le32 [usertype] @@
drivers/block/drbd/drbd_bitmap.c:495:14: sparse: expected unsigned long [assigned] mask
drivers/block/drbd/drbd_bitmap.c:495:14: sparse: got restricted __le32 [usertype]
drivers/block/drbd/drbd_bitmap.c:531:14: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long [assigned] mask @@ got restricted __le32 [usertype] @@
drivers/block/drbd/drbd_bitmap.c:531:14: sparse: expected unsigned long [assigned] mask
drivers/block/drbd/drbd_bitmap.c:531:14: sparse: got restricted __le32 [usertype]
drivers/block/drbd/drbd_bitmap.c:572:27: sparse: sparse: invalid assignment: &=
drivers/block/drbd/drbd_bitmap.c:572:27: sparse: left side has type unsigned long
drivers/block/drbd/drbd_bitmap.c:572:27: sparse: right side has type restricted __le32
drivers/block/drbd/drbd_bitmap.c:924:13: sparse: sparse: context imbalance in 'drbd_bm_aio_ctx_destroy' - unexpected unlock
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
--
drivers/block/drbd/drbd_proc.c:270:30: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_proc.c:270:30: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_proc.c:270:30: sparse: struct net_conf *
--
drivers/block/drbd/drbd_worker.c:621:39: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_worker.c:621:39: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:621:39: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:513:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:513:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:513:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:514:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_worker.c:514:16: sparse: struct fifo_buffer [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:514:16: sparse: struct fifo_buffer *
drivers/block/drbd/drbd_worker.c:563:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:563:13: sparse: struct fifo_buffer [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:563:13: sparse: struct fifo_buffer *
drivers/block/drbd/drbd_worker.c:567:39: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:567:39: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:567:39: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:1000:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:1000:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1000:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:1542:32: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:1542:32: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1542:32: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:1651:32: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:1651:32: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1651:32: sparse: struct disk_conf *
drivers/block/drbd/drbd_worker.c:1688:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:1688:16: sparse: struct fifo_buffer [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1688:16: sparse: struct fifo_buffer *
drivers/block/drbd/drbd_worker.c:1717:34: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_worker.c:1717:34: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1717:34: sparse: struct net_conf *
drivers/block/drbd/drbd_worker.c:1890:38: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:1890:38: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:1890:38: sparse: struct net_conf *
drivers/block/drbd/drbd_worker.c:2095:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:2095:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:2095:14: sparse: struct net_conf *
drivers/block/drbd/drbd_worker.c:2150:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_worker.c:2150:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_worker.c:2150:14: sparse: struct net_conf *
drivers/block/drbd/drbd_worker.c:59:25: sparse: sparse: context imbalance in 'drbd_md_endio' - unexpected unlock
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
--
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5361:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5362:27: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5371:54: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:5428:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_receiver.c:5428:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:5428:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:271:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:271:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:271:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:527:29: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:527:29: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:527:29: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:599:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:599:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:599:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:703:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:703:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:703:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:772:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:772:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:772:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:1165:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1165:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1165:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1165:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1166:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1166:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1166:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1166:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1167:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1171:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1171:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1171:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1171:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1172:28: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1177:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1177:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1177:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1177:27: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1178:28: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1178:28: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1178:28: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:1178:28: sparse: sparse: cast to restricted __be16
drivers/block/drbd/drbd_receiver.c:820:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:820:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:820:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:875:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:875:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:875:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:1040:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:1040:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:1040:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:1432:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_receiver.c:1432:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:1432:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:1587:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:1587:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:1587:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1893:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1897:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:1909:22: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2157:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2191:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2405:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:2405:22: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:2405:22: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:2415:27: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:2415:27: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:2415:27: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2594:24: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: cast to restricted __be64
drivers/block/drbd/drbd_receiver.c:2622:18: sparse: sparse: too many warnings
drivers/block/drbd/drbd_receiver.c:2666:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:2666:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:2666:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:2798:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:2798:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:2798:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:3066:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3066:23: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3066:23: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:3142:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3142:23: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3142:23: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:3199:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3199:23: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3199:23: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:3545:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3545:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3545:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:3703:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3703:22: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3703:22: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:3789:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:3789:9: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:3789:9: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:4044:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:4044:25: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:4044:25: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:4049:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:4049:17: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:4049:17: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:4055:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_receiver.c:4055:17: sparse: struct fifo_buffer [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:4055:17: sparse: struct fifo_buffer *
drivers/block/drbd/drbd_receiver.c:4132:28: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:4132:28: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:4132:28: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:4174:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:4174:25: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:4174:25: sparse: struct disk_conf *
drivers/block/drbd/drbd_receiver.c:5969:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:5969:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:5969:14: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:6062:37: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:6062:37: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:6062:37: sparse: struct net_conf *
drivers/block/drbd/drbd_receiver.c:6159:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_receiver.c:6159:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_receiver.c:6159:14: sparse: struct net_conf *
--
drivers/block/drbd/drbd_req.c:575:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_req.c:575:22: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:575:22: sparse: struct net_conf *
drivers/block/drbd/drbd_req.c:688:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_req.c:688:22: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:688:22: sparse: struct net_conf *
drivers/block/drbd/drbd_req.c:980:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_req.c:980:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:980:14: sparse: struct net_conf *
drivers/block/drbd/drbd_req.c:1053:15: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_req.c:1053:15: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:1053:15: sparse: struct disk_conf *
drivers/block/drbd/drbd_req.c:1699:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_req.c:1699:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:1699:14: sparse: struct net_conf *
drivers/block/drbd/drbd_req.c:1706:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_req.c:1706:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_req.c:1706:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
--
drivers/block/drbd/drbd_actlog.c:111:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_actlog.c:111:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_actlog.c:111:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_actlog.c:386:36: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_actlog.c:386:36: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_actlog.c:386:36: sparse: struct disk_conf *
drivers/block/drbd/drbd_actlog.c:457:44: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_actlog.c:457:44: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_actlog.c:457:44: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
--
drivers/block/drbd/drbd_main.c:575:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] magic @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:575:20: sparse: expected unsigned int [usertype] magic
drivers/block/drbd/drbd_main.c:575:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:576:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] command @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:576:20: sparse: expected unsigned short [usertype] command
drivers/block/drbd/drbd_main.c:576:20: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:577:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] length @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:577:20: sparse: expected unsigned short [usertype] length
drivers/block/drbd/drbd_main.c:577:20: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:583:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] magic @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:583:20: sparse: expected unsigned short [usertype] magic
drivers/block/drbd/drbd_main.c:583:20: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:584:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] command @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:584:20: sparse: expected unsigned short [usertype] command
drivers/block/drbd/drbd_main.c:584:20: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:585:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:585:19: sparse: expected unsigned int [usertype] length
drivers/block/drbd/drbd_main.c:585:19: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:592:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] magic @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:592:18: sparse: expected unsigned int [usertype] magic
drivers/block/drbd/drbd_main.c:592:18: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:593:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] volume @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:593:19: sparse: expected unsigned short [usertype] volume
drivers/block/drbd/drbd_main.c:593:19: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:594:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] command @@ got restricted __be16 [usertype] @@
drivers/block/drbd/drbd_main.c:594:20: sparse: expected unsigned short [usertype] command
drivers/block/drbd/drbd_main.c:594:20: sparse: got restricted __be16 [usertype]
drivers/block/drbd/drbd_main.c:595:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] length @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:595:19: sparse: expected unsigned int [usertype] length
drivers/block/drbd/drbd_main.c:595:19: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:734:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_main.c:734:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:734:14: sparse: struct net_conf *
drivers/block/drbd/drbd_main.c:748:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_main.c:748:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:748:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_main.c:785:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:785:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:785:14: sparse: struct net_conf *
drivers/block/drbd/drbd_main.c:845:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:849:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:851:23: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:851:23: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:851:23: sparse: struct net_conf *
drivers/block/drbd/drbd_main.c:910:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] uuid @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:921:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] physical_block_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:922:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] logical_block_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:923:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] alignment_offset @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:924:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] io_min @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:925:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] io_opt @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:930:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] physical_block_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:931:45: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] logical_block_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:933:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] io_min @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:934:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] io_opt @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:964:26: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:964:26: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:964:26: sparse: struct disk_conf *
drivers/block/drbd/drbd_main.c:1007:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] state @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1030:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] state @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1043:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] mask @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1044:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1059:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] mask @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1060:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] val @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1072:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] retcode @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1086:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] retcode @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1123:19: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:1123:19: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:1123:19: sparse: struct net_conf *
drivers/block/drbd/drbd_main.c:1330:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] set_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1330:21: sparse: expected unsigned int [usertype] set_size
drivers/block/drbd/drbd_main.c:1330:21: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1358:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] seq_num @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1358:20: sparse: expected unsigned int [usertype] seq_num
drivers/block/drbd/drbd_main.c:1358:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1370:54: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1370:54: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1370:54: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1390:31: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1390:31: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1390:31: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1391:31: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1391:31: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1391:31: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1401:31: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1401:31: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1401:31: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1402:31: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1402:31: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1402:31: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1403:31: sparse: sparse: incorrect type in argument 5 (different base types) @@ expected unsigned long long [usertype] block_id @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1403:31: sparse: expected unsigned long long [usertype] block_id
drivers/block/drbd/drbd_main.c:1403:31: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1416:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1416:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1416:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1417:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1417:20: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1417:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1432:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1432:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1432:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1434:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1434:20: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1434:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1450:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1450:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1450:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1452:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1452:20: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1452:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1465:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1465:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1465:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1467:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1467:20: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1467:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1690:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1690:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1690:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1692:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] seq_num @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1692:20: sparse: expected unsigned int [usertype] seq_num
drivers/block/drbd/drbd_main.c:1692:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1706:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] dp_flags @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1706:21: sparse: expected unsigned int [usertype] dp_flags
drivers/block/drbd/drbd_main.c:1706:21: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1711:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1711:25: sparse: expected unsigned int [usertype] size
drivers/block/drbd/drbd_main.c:1711:25: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1721:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1721:29: sparse: expected unsigned int [usertype] size
drivers/block/drbd/drbd_main.c:1721:29: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1797:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1797:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1797:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1820:19: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] sector @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:1820:19: sparse: expected unsigned long long [usertype] sector
drivers/block/drbd/drbd_main.c:1820:19: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:1821:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] blksize @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:1821:20: sparse: expected unsigned int [usertype] blksize
drivers/block/drbd/drbd_main.c:1821:20: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:1857:40: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:1857:40: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:1857:40: sparse: struct net_conf *
drivers/block/drbd/drbd_main.c:3106:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] la_size_sect @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:3106:30: sparse: expected unsigned long long [usertype] la_size_sect
drivers/block/drbd/drbd_main.c:3106:30: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:3108:33: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:3108:33: sparse: expected unsigned long long
drivers/block/drbd/drbd_main.c:3108:33: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:3109:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] flags @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3109:23: sparse: expected unsigned int [usertype] flags
drivers/block/drbd/drbd_main.c:3109:23: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3110:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] magic @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3110:23: sparse: expected unsigned int [usertype] magic
drivers/block/drbd/drbd_main.c:3110:23: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3112:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] md_size_sect @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3112:31: sparse: expected unsigned int [usertype] md_size_sect
drivers/block/drbd/drbd_main.c:3112:31: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3113:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] al_offset @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3113:31: sparse: expected unsigned int [usertype] al_offset
drivers/block/drbd/drbd_main.c:3113:31: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3114:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] al_nr_extents @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3114:31: sparse: expected unsigned int [usertype] al_nr_extents
drivers/block/drbd/drbd_main.c:3114:31: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3115:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] bm_bytes_per_bit @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3115:34: sparse: expected unsigned int [usertype] bm_bytes_per_bit
drivers/block/drbd/drbd_main.c:3115:34: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3116:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] device_uuid @@ got restricted __be64 [usertype] @@
drivers/block/drbd/drbd_main.c:3116:29: sparse: expected unsigned long long [usertype] device_uuid
drivers/block/drbd/drbd_main.c:3116:29: sparse: got restricted __be64 [usertype]
drivers/block/drbd/drbd_main.c:3118:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] bm_offset @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3118:27: sparse: expected unsigned int [usertype] bm_offset
drivers/block/drbd/drbd_main.c:3118:27: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3119:38: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] la_peer_max_bio_size @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3119:38: sparse: expected unsigned int [usertype] la_peer_max_bio_size
drivers/block/drbd/drbd_main.c:3119:38: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3121:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] al_stripes @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3121:28: sparse: expected unsigned int [usertype] al_stripes
drivers/block/drbd/drbd_main.c:3121:28: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3122:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] al_stripe_size_4k @@ got restricted __be32 [usertype] @@
drivers/block/drbd/drbd_main.c:3122:35: sparse: expected unsigned int [usertype] al_stripe_size_4k
drivers/block/drbd/drbd_main.c:3122:35: sparse: got restricted __be32 [usertype]
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3175:26: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3176:33: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3338:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3339:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3357:13: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3358:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3358:17: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_main.c:3358:17: sparse: sparse: too many warnings
drivers/block/drbd/drbd_main.c:3778:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_main.c:3778:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_main.c:3778:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:1725:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:1725:14: sparse: struct disk_conf *
--
include/linux/genl_magic_func.h:212:12: sparse: sparse: symbol 'drbd_genl_cmd_to_str' was not declared. Should it be static?
drivers/block/drbd/drbd_nl.c:454:33: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_nl.c:454:33: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:454:33: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:691:38: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_nl.c:691:38: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:691:38: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:793:40: sparse: sparse: mixing different enum types:
drivers/block/drbd/drbd_nl.c:793:40: sparse: int enum drbd_state_rv
drivers/block/drbd/drbd_nl.c:793:40: sparse: unsigned int enum drbd_ret_code
drivers/block/drbd/drbd_nl.c:795:40: sparse: sparse: mixing different enum types:
drivers/block/drbd/drbd_nl.c:795:40: sparse: int enum drbd_state_rv
drivers/block/drbd/drbd_nl.c:795:40: sparse: unsigned int enum drbd_ret_code
drivers/block/drbd/drbd_nl.c:980:18: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:980:18: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:980:18: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1287:41: sparse: sparse: cast to restricted __be32
drivers/block/drbd/drbd_nl.c:1347:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:1347:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:1347:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:1647:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:1647:17: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:1647:17: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:1657:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_nl.c:1657:17: sparse: struct fifo_buffer [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:1657:17: sparse: struct fifo_buffer *
drivers/block/drbd/drbd_nl.c:1880:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:1880:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:1880:14: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:2139:39: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2139:39: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2139:39: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:2147:13: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2147:13: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2147:13: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:2329:50: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2329:50: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2329:50: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:2352:45: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2352:45: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2352:45: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:2497:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2497:9: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2497:9: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:2660:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2660:9: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2660:9: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:2812:27: sparse: sparse: mixing different enum types:
drivers/block/drbd/drbd_nl.c:2892:18: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2892:18: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2892:18: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:2932:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:2932:17: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:2932:17: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:3476:33: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:3476:33: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:3476:33: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:3601:28: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:3601:28: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:3601:28: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:3814:29: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:3814:29: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:3814:29: sparse: struct disk_conf *
drivers/block/drbd/drbd_nl.c:3820:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:3820:22: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:3820:22: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:4011:38: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_nl.c:4011:38: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_nl.c:4011:38: sparse: struct net_conf *
drivers/block/drbd/drbd_nl.c:452:17: sparse: sparse: context imbalance in 'highest_fencing_policy' - different lock contexts for basic block
drivers/block/drbd/drbd_int.h:2144:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:2144:14: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:780:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:780:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:780:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:780:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf *
drivers/block/drbd/drbd_int.h:780:24: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_int.h:780:24: sparse: struct net_conf *
--
drivers/block/drbd/drbd_state.c:1903:30: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_state.c:1903:30: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_state.c:1903:30: sparse: struct disk_conf *
drivers/block/drbd/drbd_state.c:834:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_state.c:834:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_state.c:834:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_state.c:838:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> drivers/block/drbd/drbd_state.c:838:14: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_state.c:838:14: sparse: struct net_conf *
drivers/block/drbd/drbd_state.c:1064:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_state.c:1064:22: sparse: struct disk_conf [noderef] __rcu *
drivers/block/drbd/drbd_state.c:1064:22: sparse: struct disk_conf *
drivers/block/drbd/drbd_state.c:1341:36: sparse: sparse: cast to non-scalar
drivers/block/drbd/drbd_state.c:1342:36: sparse: sparse: cast to non-scalar
drivers/block/drbd/drbd_state.c:2069:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/block/drbd/drbd_state.c:2069:17: sparse: struct net_conf [noderef] __rcu *
drivers/block/drbd/drbd_state.c:2069:17: sparse: struct net_conf *
drivers/block/drbd/drbd_state.c:838:14: sparse: sparse: context imbalance in 'is_valid_state' - different lock contexts for basic block
drivers/block/drbd/drbd_state.c:1070:9: sparse: sparse: context imbalance in 'sanitize_state' - different lock contexts for basic block
drivers/block/drbd/drbd_state.c:1949:25: sparse: sparse: context imbalance in 'after_state_ch' - unexpected unlock
drivers/block/drbd/drbd_state.c:2364:32: sparse: sparse: context imbalance in '_conn_request_state' - unexpected unlock
--
>> drivers/mtd/devices/phram.c:85:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *priv @@
>> drivers/mtd/devices/phram.c:85:34: sparse: expected void const [noderef] __iomem *addr
drivers/mtd/devices/phram.c:85:34: sparse: got void *priv
drivers/mtd/devices/phram.c:101:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *priv @@ got void [noderef] __iomem * @@
drivers/mtd/devices/phram.c:101:23: sparse: expected void *priv
drivers/mtd/devices/phram.c:101:23: sparse: got void [noderef] __iomem *
drivers/mtd/devices/phram.c:131:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const [noderef] __iomem *addr @@ got void *priv @@
drivers/mtd/devices/phram.c:131:25: sparse: expected void const [noderef] __iomem *addr
drivers/mtd/devices/phram.c:131:25: sparse: got void *priv
--
>> net/ipv4/tcp_cong.c:228:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tcp_congestion_ops const *prev @@ got struct tcp_congestion_ops const [noderef] __rcu *[assigned] old_val @@
net/ipv4/tcp_cong.c:228:22: sparse: expected struct tcp_congestion_ops const *prev
>> net/ipv4/tcp_cong.c:228:22: sparse: got struct tcp_congestion_ops const [noderef] __rcu *[assigned] old_val
vim +1725 drivers/block/drbd/drbd_int.h
383606e0dea6a38 Lars Ellenberg 2012-06-14 1716
b411b3637fa71fc Philipp Reisner 2009-09-25 1717 #define __drbd_chk_io_error(m,f) __drbd_chk_io_error_(m,f, __func__)
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1718 static inline void __drbd_chk_io_error_(struct drbd_device *device,
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1719 enum drbd_force_detach_flags df,
383606e0dea6a38 Lars Ellenberg 2012-06-14 1720 const char *where)
b411b3637fa71fc Philipp Reisner 2009-09-25 1721 {
daeda1cca91d58b Philipp Reisner 2011-05-03 1722 enum drbd_io_error_p ep;
daeda1cca91d58b Philipp Reisner 2011-05-03 1723
daeda1cca91d58b Philipp Reisner 2011-05-03 1724 rcu_read_lock();
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 @1725 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error;
daeda1cca91d58b Philipp Reisner 2011-05-03 1726 rcu_read_unlock();
daeda1cca91d58b Philipp Reisner 2011-05-03 1727 switch (ep) {
daeda1cca91d58b Philipp Reisner 2011-05-03 1728 case EP_PASS_ON: /* FIXME would this be better named "Ignore"? */
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1729 if (df == DRBD_READ_ERROR || df == DRBD_WRITE_ERROR) {
7383506c87237db Lars Ellenberg 2010-05-27 1730 if (__ratelimit(&drbd_ratelimit_state))
d01801710265cfb Andreas Gruenbacher 2011-07-03 1731 drbd_err(device, "Local IO failed in %s.\n", where);
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1732 if (device->state.disk > D_INCONSISTENT)
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1733 _drbd_set_state(_NS(device, disk, D_INCONSISTENT), CS_HARD, NULL);
b411b3637fa71fc Philipp Reisner 2009-09-25 1734 break;
b411b3637fa71fc Philipp Reisner 2009-09-25 1735 }
e16fb3a8d27189a Gustavo A. R. Silva 2019-01-23 1736 /* fall through - for DRBD_META_IO_ERROR or DRBD_FORCE_DETACH */
b411b3637fa71fc Philipp Reisner 2009-09-25 1737 case EP_DETACH:
b411b3637fa71fc Philipp Reisner 2009-09-25 1738 case EP_CALL_HELPER:
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1739 /* Remember whether we saw a READ or WRITE error.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1740 *
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1741 * Recovery of the affected area for WRITE failure is covered
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1742 * by the activity log.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1743 * READ errors may fall outside that area though. Certain READ
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1744 * errors can be "healed" by writing good data to the affected
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1745 * blocks, which triggers block re-allocation in lower layers.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1746 *
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1747 * If we can not write the bitmap after a READ error,
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1748 * we may need to trigger a full sync (see w_go_diskless()).
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1749 *
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1750 * Force-detach is not really an IO error, but rather a
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1751 * desperate measure to try to deal with a completely
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1752 * unresponsive lower level IO stack.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1753 * Still it should be treated as a WRITE error.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1754 *
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1755 * Meta IO error is always WRITE error:
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1756 * we read meta data only once during attach,
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1757 * which will fail in case of errors.
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1758 */
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1759 set_bit(WAS_IO_ERROR, &device->flags);
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1760 if (df == DRBD_READ_ERROR)
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1761 set_bit(WAS_READ_ERROR, &device->flags);
a2a3c74f243d5d1 Lars Ellenberg 2012-09-22 1762 if (df == DRBD_FORCE_DETACH)
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1763 set_bit(FORCE_DETACH, &device->flags);
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1764 if (device->state.disk > D_FAILED) {
b30ab7913b0a7b1 Andreas Gruenbacher 2011-07-03 1765 _drbd_set_state(_NS(device, disk, D_FAILED), CS_HARD, NULL);
d01801710265cfb Andreas Gruenbacher 2011-07-03 1766 drbd_err(device,
82f59cc6353889b Lars Ellenberg 2010-10-16 1767 "Local IO failed in %s. Detaching...\n", where);
b411b3637fa71fc Philipp Reisner 2009-09-25 1768 }
b411b3637fa71fc Philipp Reisner 2009-09-25 1769 break;
b411b3637fa71fc Philipp Reisner 2009-09-25 1770 }
b411b3637fa71fc Philipp Reisner 2009-09-25 1771 }
b411b3637fa71fc Philipp Reisner 2009-09-25 1772
:::::: The code at line 1725 was first introduced by commit
:::::: b30ab7913b0a7b1d3b1091c8cb3abb1a9f1e0824 drbd: Rename "mdev" to "device"
:::::: TO: Andreas Gruenbacher <agruen@...bit.com>
:::::: CC: Philipp Reisner <philipp.reisner@...bit.com>
---
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" (25378 bytes)
Powered by blists - more mailing lists