Re: [PATCH v3] mac80211: fix control port tx status check
by kernel test robot
Hi Markus,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mac80211-next/master]
[also build test WARNING on mac80211/master v5.8-rc2 next-20200622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Markus-Theil/mac80211-fix-contro...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: c6x-randconfig-s032-20200622 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=c6x CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> net/mac80211/status.c:642:36: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __be16 [usertype] ethertype @@ got int @@
>> net/mac80211/status.c:642:36: sparse: expected restricted __be16 [usertype] ethertype
>> net/mac80211/status.c:642:36: sparse: got int
vim +642 net/mac80211/status.c
623
624 static void ieee80211_report_ack_skb(struct ieee80211_local *local,
625 struct ieee80211_tx_info *info,
626 bool acked, bool dropped)
627 {
628 struct sk_buff *skb;
629 unsigned long flags;
630
631 spin_lock_irqsave(&local->ack_status_lock, flags);
632 skb = idr_remove(&local->ack_status_frames, info->ack_frame_id);
633 spin_unlock_irqrestore(&local->ack_status_lock, flags);
634
635 if (!skb)
636 return;
637
638 if (info->flags & IEEE80211_TX_INTFL_NL80211_FRAME_TX) {
639 u64 cookie = IEEE80211_SKB_CB(skb)->ack.cookie;
640 struct ieee80211_sub_if_data *sdata;
641 struct ieee80211_hdr *hdr = (void *)skb->data;
> 642 __be16 ethertype = 0xffff;
643
644 if (skb->len >= ETH_HLEN && skb->protocol == cpu_to_be16(ETH_P_802_3))
645 skb_copy_bits(skb, 2 * ETH_ALEN, ðertype, ETH_TLEN);
646
647 rcu_read_lock();
648 sdata = ieee80211_sdata_from_skb(local, skb);
649 if (sdata) {
650 if (ethertype == sdata->control_port_protocol ||
651 ethertype == cpu_to_be16(ETH_P_PREAUTH))
652 cfg80211_control_port_tx_status(&sdata->wdev,
653 cookie,
654 skb->data,
655 skb->len,
656 acked,
657 GFP_ATOMIC);
658 else if (ieee80211_is_any_nullfunc(hdr->frame_control))
659 cfg80211_probe_status(sdata->dev, hdr->addr1,
660 cookie, acked,
661 info->status.ack_signal,
662 info->status.is_valid_ack_signal,
663 GFP_ATOMIC);
664 else if (ieee80211_is_mgmt(hdr->frame_control))
665 cfg80211_mgmt_tx_status(&sdata->wdev, cookie,
666 skb->data, skb->len,
667 acked, GFP_ATOMIC);
668 else
669 pr_warn("Unknown status report in ack skb\n");
670
671 }
672 rcu_read_unlock();
673
674 dev_kfree_skb_any(skb);
675 } else if (dropped) {
676 dev_kfree_skb_any(skb);
677 } else {
678 /* consumes skb */
679 skb_complete_wifi_ack(skb, acked);
680 }
681 }
682
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
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
by kernel test robot
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(a)intel.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(a)linbit.com>
:::::: CC: Philipp Reisner <philipp.reisner(a)linbit.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
Re: drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40: sparse: sparse: incorrect type in initializer (different base types)
by Kalle Valo
Chi-Hsien Lin <chi-hsien.lin(a)cypress.com> writes:
> On 06/22/2020 10:09, Kalle Valo wrote:
>> + linux-wireless
>>
>> kernel test robot <lkp(a)intel.com> writes:
>>
>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>>> head: 5e857ce6eae7ca21b2055cca4885545e29228fe2
>>> commit: 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8 brcmfmac: Fix P2P
>>> Group Formation failure via Go-neg method
>>> date: 6 weeks ago
>>> config: riscv-randconfig-s032-20200618 (attached as .config)
>>> compiler: riscv64-linux-gcc (GCC) 9.3.0
>>> reproduce:
>>> # apt-get install sparse
>>> # sparse version: v0.6.2-rc1-10-gc17b1b06-dirty
>>> git checkout 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8
>>> # save the attached .config to linux build tree
>>> make W=1 C=1 ARCH=riscv CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
>>>
>>> If you fix the issue, kindly add following tag as appropriate
>>> Reported-by: kernel test robot <lkp(a)intel.com>
>>>
>>>
>>> sparse warnings: (new ones prefixed by >>)
>>>
>>>>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
>>>>> sparse: sparse: incorrect type in initializer (different base
>>>>> types) @@ expected signed int [usertype] requested_dwell @@ got
>>>>> restricted __le32 [usertype] dwell_time @@
>>>>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
>>>>> sparse: expected signed int [usertype] requested_dwell
>>>>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40:
>>>>> sparse: got restricted __le32 [usertype] dwell_time
>>
>> Joseph, please send a followup patch to fix these.
> Kalle,
>
> The fix is this one
> https://patchwork.kernel.org/patch/11598109/
Great, thanks.
> Do I need to submit a V2 with "Reported-by: kernel test robot
> <lkp(a)intel.com>" tag?
No need to send v2. But you can reply to that patch (so that patchwork
sees it) and ask me to add the tag during commit.
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpa...
2 years, 2 months
[dgc-xfs:xfs-async-inode-reclaim-4 11/31] fs/xfs/xfs_buf_item.c:1228: undefined reference to `xfs_dquot_done'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git xfs-async-inode-reclaim-4
head: 832cf7c3f1a42e662caff9da758f13c868422b81
commit: 3339f1aca40518957abadc8c180872ffeee22d81 [11/31] xfs: use direct calls for dquot IO completion
config: i386-randconfig-a003-20200622 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 3339f1aca40518957abadc8c180872ffeee22d81
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: fs/xfs/xfs_buf_item.o: in function `xfs_buf_dquot_iodone':
>> fs/xfs/xfs_buf_item.c:1228: undefined reference to `xfs_dquot_done'
vim +1228 fs/xfs/xfs_buf_item.c
1207
1208 /*
1209 * Dquot buffer iodone callback function.
1210 */
1211 void
1212 xfs_buf_dquot_iodone(
1213 struct xfs_buf *bp)
1214 {
1215 struct xfs_buf_log_item *blip = bp->b_log_item;
1216 struct xfs_log_item *lip;
1217
1218 if (xfs_buf_had_callback_errors(bp))
1219 return;
1220
1221 /* a newly allocated dquot buffer might have a log item attached */
1222 if (blip) {
1223 lip = &blip->bli_item;
1224 lip->li_cb(bp, lip);
1225 bp->b_log_item = NULL;
1226 }
1227
> 1228 xfs_dquot_done(bp);
1229 xfs_buf_ioend_finish(bp);
1230 }
1231
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
drivers/gpio/gpio-sa1100.c:104:21: sparse: sparse: cast removes address space '__iomem' of expression
by kernel test robot
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: arm-randconfig-s031-20200622 (attached as .config)
compiler: arm-linux-gnueabi-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=arm CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpio/gpio-sa1100.c:104:21: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/gpio/gpio-sa1100.c:104:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __iomem *membase @@ got void * @@
>> drivers/gpio/gpio-sa1100.c:104:21: sparse: expected void [noderef] __iomem *membase
drivers/gpio/gpio-sa1100.c:104:21: sparse: got void *
>> drivers/gpio/gpio-sa1100.c:115:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *base @@ got void [noderef] __iomem *membase @@
drivers/gpio/gpio-sa1100.c:115:25: sparse: expected void *base
>> drivers/gpio/gpio-sa1100.c:115:25: sparse: got void [noderef] __iomem *membase
>> drivers/gpio/gpio-sa1100.c:121:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
>> drivers/gpio/gpio-sa1100.c:121:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpio/gpio-sa1100.c:121:9: sparse: got void *
drivers/gpio/gpio-sa1100.c:122:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpio/gpio-sa1100.c:122:9: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpio/gpio-sa1100.c:122:9: sparse: got void *
--
drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] addr @@ got void [noderef] __iomem * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: expected void *[assigned] addr
drivers/gpu/drm/ttm/ttm_bo_util.c:219:30: sparse: got void [noderef] __iomem *
drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] addr @@ got void [noderef] __iomem * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: expected void *[assigned] addr
drivers/gpu/drm/ttm/ttm_bo_util.c:221:30: sparse: got void [noderef] __iomem *
>> drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *virtual @@
>> drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/ttm/ttm_bo_util.c:241:25: sparse: got void *virtual
drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/ttm/ttm_bo_util.c:256:40: sparse: got unsigned int [usertype] *
drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/ttm/ttm_bo_util.c:256:49: sparse: got unsigned int [usertype] *
>> drivers/gpu/drm/ttm/ttm_bo_util.c:275:9: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] src @@
>> drivers/gpu/drm/ttm/ttm_bo_util.c:275:9: sparse: expected void const volatile [noderef] __iomem *from
drivers/gpu/drm/ttm/ttm_bo_util.c:275:9: sparse: got void *[assigned] src
>> drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] dst @@
>> drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/ttm/ttm_bo_util.c:297:9: sparse: got void *[assigned] dst
drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[addressable] new_iomap @@
drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: sparse: expected void volatile [noderef] __iomem *dst
drivers/gpu/drm/ttm/ttm_bo_util.c:344:17: sparse: got void *[addressable] new_iomap
drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *virtual @@ got void [noderef] __iomem * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: expected void *virtual
drivers/gpu/drm/ttm/ttm_bo_util.c:516:38: sparse: got void [noderef] __iomem *
drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *virtual @@ got void [noderef] __iomem * @@
drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: expected void *virtual
drivers/gpu/drm/ttm/ttm_bo_util.c:519:38: sparse: got void [noderef] __iomem *
drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *virtual @@
drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/ttm/ttm_bo_util.c:608:28: sparse: got void *virtual
--
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
>> drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/radeon/radeon_ttm.c:979:21: sparse: sparse: cast removes address space '__user' of expression
--
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: sparse: incompatible types in conditional expression (different base types):
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: void
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:155:9: sparse: int
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:526:5: sparse: sparse: symbol 'psp_ta_invoke' was not declared. Should it be static?
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2036:36: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2037:41: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2038:36: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2040:33: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2078:44: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2079:49: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2080:42: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2081:42: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2083:33: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2085:33: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2088:50: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2090:41: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2091:50: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2093:41: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2097:50: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2099:53: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] cpu_addr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2187:9: sparse: got void *[assigned] cpu_addr
--
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:819:42: sparse: sparse: cast removes address space '__iomem' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1094:5: sparse: sparse: symbol 'amdgpu_ttm_gart_bind' was not declared. Should it be static?
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: cast removes address space '__user' of expression
--
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:384:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:399:21: sparse: sparse: cast removes address space '__user' of expression
--
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __poll_t ( *poll )( ... ) @@ got unsigned int ( * )( ... ) @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: expected restricted __poll_t ( *poll )( ... )
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:138:17: sparse: got unsigned int ( * )( ... )
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:257:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:259:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:346:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:400:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:457:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:511:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:568:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:622:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:719:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const [noderef] __user *__pu_ptr @@ got signed int [usertype] * @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: expected signed int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: got signed int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:793:29: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:875:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const [noderef] __user *__pu_ptr @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: expected unsigned int const [noderef] __user *__pu_ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:968:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *register __p @@ got unsigned int [usertype] * @@
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: expected unsigned int [noderef] __user *register __p
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: got unsigned int [usertype] *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1012:21: sparse: sparse: cast removes address space '__user' of expression
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: struct dma_fence [noderef] __rcu *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1256:25: sparse: struct dma_fence *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: struct dma_fence [noderef] __rcu *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1257:17: sparse: struct dma_fence *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1307:23: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: struct dma_fence [noderef] __rcu *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1313:17: sparse: struct dma_fence *
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1341:32: sparse: sparse: cast to restricted __le32
--
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:210:21: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:215:34: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:216:34: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:241:30: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:242:30: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:243:30: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:249:40: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:255:28: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: expected void const volatile [noderef] __iomem *from
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:384:25: sparse: got void *[assigned] ptr
>> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:409:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:418:42: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *cpu_addr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: got void *cpu_addr
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:419:33: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:421:41: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:422:40: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: expected void volatile [noderef] __iomem *dst
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:424:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:683:35: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1151:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1152:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1153:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1154:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1155:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1156:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1157:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1158:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1159:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1160:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1161:17: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1163:24: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1183:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1184:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1185:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1186:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:1188:24: sparse: got restricted __le32 [usertype]
--
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:177:25: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:314:18: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[addressable] cpu_addr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:315:9: sparse: got void *[addressable] cpu_addr
--
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:456:25: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *ptr @@
>> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: expected void const volatile [noderef] __iomem *from
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:567:17: sparse: got void *ptr
>> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *ptr @@
>> drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:589:17: sparse: got void *ptr
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c:1044:27: sparse: sparse: symbol 'vce_v4_0_ip_funcs' was not declared. Should it be static?
--
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:131:32: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:139:21: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:143:26: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:144:30: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:146:28: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:147:24: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:153:29: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:154:34: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:155:34: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:162:28: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: expected void const volatile [noderef] __iomem *from
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:260:17: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const volatile [noderef] __iomem *from @@ got void *[assigned] ptr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: expected void const volatile [noderef] __iomem *from
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:271:17: sparse: got void *[assigned] ptr
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:292:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:301:42: sparse: sparse: cast to restricted __le32
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *cpu_addr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: got void *cpu_addr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:302:33: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:304:41: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:305:40: sparse: sparse: cast to restricted __le32
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: expected void volatile [noderef] __iomem *dst
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:307:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *[assigned] ptr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:317:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *dst @@ got void *[assigned] ptr @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: expected void volatile [noderef] __iomem *dst
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:319:25: sparse: got void *[assigned] ptr
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:503:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:504:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:505:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:506:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:507:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:508:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:509:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:510:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:511:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:512:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:513:17: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:514:17: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:515:17: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:516:17: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:518:24: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:537:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:538:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:539:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:540:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:541:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:542:16: sparse: got restricted __le32 [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: expected unsigned int [usertype]
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c:544:24: sparse: got restricted __le32 [usertype]
--
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32
>> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *kaddr @@
>> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: expected void volatile [noderef] __iomem *to
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.c:408:9: sparse: got void *kaddr
--
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: expected void volatile [noderef] __iomem *addr
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:104:58: sparse: got void *
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:110:58: sparse: got void *
>> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[assigned] emap @@
>> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:157:25: sparse: got void *[assigned] emap
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *map @@ got void [noderef] __iomem * @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: expected void *map
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:174:19: sparse: got void [noderef] __iomem *
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:225:28: sparse: got void *map
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected void [noderef] __iomem * @@ got void *map @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: expected void [noderef] __iomem *
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:233:28: sparse: got void *map
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *map @@ got void *map @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: expected void [noderef] __iomem *map
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:240:21: sparse: got void *map
>> drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *iomem_cookie @@ got void *[assigned] map @@
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: expected void volatile [noderef] __iomem *iomem_cookie
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c:327:25: sparse: got void *[assigned] map
--
>> drivers/scsi/mvumi.c:81:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@
>> drivers/scsi/mvumi.c:81:52: sparse: expected void [noderef] __iomem *addr
drivers/scsi/mvumi.c:81:52: sparse: got void *
drivers/scsi/mvumi.c:90:39: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void * @@ got void [noderef] __iomem * @@
drivers/scsi/mvumi.c:90:39: sparse: expected void *
drivers/scsi/mvumi.c:90:39: sparse: got void [noderef] __iomem *
drivers/scsi/mvumi.c:210:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_l @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:210:34: sparse: expected unsigned int [usertype] baseaddr_l
drivers/scsi/mvumi.c:210:34: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:211:34: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_h @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:211:34: sparse: expected unsigned int [usertype] baseaddr_h
drivers/scsi/mvumi.c:211:34: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:213:17: sparse: sparse: invalid assignment: |=
drivers/scsi/mvumi.c:213:17: sparse: left side has type unsigned int
drivers/scsi/mvumi.c:213:17: sparse: right side has type restricted __le32
drivers/scsi/mvumi.c:213:17: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:213:17: sparse: expected unsigned int [usertype] size
drivers/scsi/mvumi.c:213:17: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:242:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_l @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:242:26: sparse: expected unsigned int [usertype] baseaddr_l
drivers/scsi/mvumi.c:242:26: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:243:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] baseaddr_h @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:243:26: sparse: expected unsigned int [usertype] baseaddr_h
drivers/scsi/mvumi.c:243:26: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:245:9: sparse: sparse: invalid assignment: |=
drivers/scsi/mvumi.c:245:9: sparse: left side has type unsigned int
drivers/scsi/mvumi.c:245:9: sparse: right side has type restricted __le32
drivers/scsi/mvumi.c:245:9: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 [usertype] @@
drivers/scsi/mvumi.c:245:9: sparse: expected unsigned int [usertype] size
drivers/scsi/mvumi.c:245:9: sparse: got restricted __le32 [usertype]
drivers/scsi/mvumi.c:407:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *inb_read_pointer @@
drivers/scsi/mvumi.c:407:40: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:407:40: sparse: got void *inb_read_pointer
drivers/scsi/mvumi.c:429:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *ib_shadow @@
drivers/scsi/mvumi.c:429:30: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:429:30: sparse: got void *ib_shadow
drivers/scsi/mvumi.c:458:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *ib_shadow @@
drivers/scsi/mvumi.c:458:31: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:458:31: sparse: got void *ib_shadow
drivers/scsi/mvumi.c:459:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *inb_write_pointer @@
drivers/scsi/mvumi.c:459:48: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:459:48: sparse: got void *inb_write_pointer
drivers/scsi/mvumi.c:496:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *outb_copy_pointer @@
drivers/scsi/mvumi.c:496:41: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:496:41: sparse: got void *outb_copy_pointer
drivers/scsi/mvumi.c:497:48: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *ob_shadow @@
drivers/scsi/mvumi.c:497:48: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:497:48: sparse: got void *ob_shadow
drivers/scsi/mvumi.c:516:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *outb_read_pointer @@
drivers/scsi/mvumi.c:516:33: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:516:33: sparse: got void *outb_read_pointer
drivers/scsi/mvumi.c:517:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *outb_copy_pointer @@
drivers/scsi/mvumi.c:517:33: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:517:33: sparse: got void *outb_copy_pointer
drivers/scsi/mvumi.c:578:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *outb_read_pointer @@
drivers/scsi/mvumi.c:578:42: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:578:42: sparse: got void *outb_read_pointer
drivers/scsi/mvumi.c:585:26: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@
drivers/scsi/mvumi.c:585:26: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:585:26: sparse: got void *enpointa_mask_reg
drivers/scsi/mvumi.c:586:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@
drivers/scsi/mvumi.c:586:26: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:586:26: sparse: got void *arm_to_pciea_msg1
drivers/scsi/mvumi.c:589:40: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@
drivers/scsi/mvumi.c:589:40: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:589:40: sparse: got void *pciea_to_arm_drbl_reg
drivers/scsi/mvumi.c:1281:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@
drivers/scsi/mvumi.c:1281:28: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:1281:28: sparse: got void *arm_to_pciea_drbl_reg
drivers/scsi/mvumi.c:1282:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_drbl_reg @@
drivers/scsi/mvumi.c:1282:28: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:1282:28: sparse: got void *arm_to_pciea_drbl_reg
drivers/scsi/mvumi.c:1284:48: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_mask_reg @@
drivers/scsi/mvumi.c:1284:48: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:1284:48: sparse: got void *arm_to_pciea_mask_reg
drivers/scsi/mvumi.c:1285:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@
drivers/scsi/mvumi.c:1285:28: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:1285:28: sparse: got void *enpointa_mask_reg
drivers/scsi/mvumi.c:1286:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@
drivers/scsi/mvumi.c:1286:28: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:1286:28: sparse: got void *enpointa_mask_reg
drivers/scsi/mvumi.c:612:26: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *enpointa_mask_reg @@
drivers/scsi/mvumi.c:612:26: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:612:26: sparse: got void *enpointa_mask_reg
drivers/scsi/mvumi.c:613:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@
drivers/scsi/mvumi.c:613:28: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:613:28: sparse: got void *arm_to_pciea_msg1
drivers/scsi/mvumi.c:615:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *pciea_to_arm_drbl_reg @@
drivers/scsi/mvumi.c:615:46: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:615:46: sparse: got void *pciea_to_arm_drbl_reg
drivers/scsi/mvumi.c:624:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *arm_to_pciea_msg1 @@
drivers/scsi/mvumi.c:624:36: sparse: expected void const volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:624:36: sparse: got void *arm_to_pciea_msg1
drivers/scsi/mvumi.c:670:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *reset_enable @@
drivers/scsi/mvumi.c:670:32: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:670:32: sparse: got void *reset_enable
drivers/scsi/mvumi.c:671:34: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *reset_request @@
drivers/scsi/mvumi.c:671:34: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:671:34: sparse: got void *reset_request
drivers/scsi/mvumi.c:673:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *reset_enable @@
drivers/scsi/mvumi.c:673:35: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/mvumi.c:673:35: sparse: got void *reset_enable
vim +/__iomem +104 drivers/gpio/gpio-sa1100.c
f408c985cefc9b drivers/gpio/gpio-sa1100.c Russell King 2011-12-18 91
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 92 static struct sa1100_gpio_chip sa1100_gpio_chip = {
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 93 .chip = {
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 94 .label = "gpio",
c65d1fd350fa28 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 95 .get_direction = sa1100_get_direction,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 96 .direction_input = sa1100_direction_input,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 97 .direction_output = sa1100_direction_output,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 98 .set = sa1100_gpio_set,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 99 .get = sa1100_gpio_get,
f408c985cefc9b drivers/gpio/gpio-sa1100.c Russell King 2011-12-18 100 .to_irq = sa1100_to_irq,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 101 .base = 0,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 102 .ngpio = GPIO_MAX + 1,
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 103 },
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 @104 .membase = (void *)&GPLR,
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 105 .irqbase = IRQ_GPIO0,
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 106 };
45528e38173e7d arch/arm/mach-sa1100/gpio.c Dmitry Eremin-Solenikov 2008-04-10 107
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 108 /*
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 109 * SA1100 GPIO edge detection for IRQs:
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 110 * IRQs are generated on Falling-Edge, Rising-Edge, or both.
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 111 * Use this instead of directly setting GRER/GFER.
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 112 */
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 113 static void sa1100_update_edge_regs(struct sa1100_gpio_chip *sgc)
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 114 {
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 @115 void *base = sgc->membase;
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 116 u32 grer, gfer;
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 117
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 118 grer = sgc->irqrising & sgc->irqmask;
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 119 gfer = sgc->irqfalling & sgc->irqmask;
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 120
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 @121 writel_relaxed(grer, base + R_GRER);
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 122 writel_relaxed(gfer, base + R_GFER);
07242b248119a9 drivers/gpio/gpio-sa1100.c Russell King 2016-08-31 123 }
a0ea298d325616 drivers/gpio/gpio-sa1100.c Dmitry Eremin-Solenikov 2015-01-15 124
:::::: The code at line 104 was first introduced by commit
:::::: 07242b248119a9388a67975aa7fae7c23afc7a07 gpio: sa1100: convert to use IO accessors
:::::: TO: Russell King <rmk+kernel(a)armlinux.org.uk>
:::::: CC: Linus Walleij <linus.walleij(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[dgc-xfs:xfs-async-inode-reclaim-4 30/31] fs/xfs/xfs_inode_item.c:649:1: warning: no previous prototype for function 'xfs_iflush_ail_updates'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git xfs-async-inode-reclaim-4
head: 832cf7c3f1a42e662caff9da758f13c868422b81
commit: 19aba281d8dc0e0bfe900bb2f6848690257679ce [30/31] xfs: factor xfs_iflush_done
config: x86_64-randconfig-r026-20200622 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 1d4c87335d5236ea1f35937e1014980ba961ae34)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 19aba281d8dc0e0bfe900bb2f6848690257679ce
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> fs/xfs/xfs_inode_item.c:649:1: warning: no previous prototype for function 'xfs_iflush_ail_updates' [-Wmissing-prototypes]
xfs_iflush_ail_updates(
^
fs/xfs/xfs_inode_item.c:648:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
>> fs/xfs/xfs_inode_item.c:679:1: warning: no previous prototype for function 'xfs_iflush_finish' [-Wmissing-prototypes]
xfs_iflush_finish(
^
fs/xfs/xfs_inode_item.c:678:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void
^
static
2 warnings generated.
vim +/xfs_iflush_ail_updates +649 fs/xfs/xfs_inode_item.c
641
642
643 /*
644 * We only want to pull the item from the AIL if it is actually there
645 * and its location in the log has not changed since we started the
646 * flush. Thus, we only bother if the inode's lsn has not changed.
647 */
648 void
> 649 xfs_iflush_ail_updates(
650 struct xfs_ail *ailp,
651 struct list_head *list)
652 {
653 struct xfs_log_item *lip;
654 xfs_lsn_t tail_lsn = 0;
655
656 /* this is an opencoded batch version of xfs_trans_ail_delete */
657 spin_lock(&ailp->ail_lock);
658 list_for_each_entry(lip, list, li_bio_list) {
659 xfs_lsn_t lsn;
660
661 clear_bit(XFS_LI_FAILED, &lip->li_flags);
662 if (INODE_ITEM(lip)->ili_flush_lsn != lip->li_lsn)
663 continue;
664
665 lsn = xfs_ail_delete_one(ailp, lip);
666 if (!tail_lsn && lsn)
667 tail_lsn = lsn;
668 }
669 xfs_ail_update_finish(ailp, tail_lsn);
670 }
671
672 /*
673 * Walk the list of inodes that have completed their IOs. If they are clean
674 * remove them from the list and dissociate them from the buffer. Buffers that
675 * are still dirty remain linked to the buffer and on the list. Caller must
676 * handle them appropriately.
677 */
678 void
> 679 xfs_iflush_finish(
680 struct xfs_buf *bp,
681 struct list_head *list)
682 {
683 struct xfs_log_item *lip, *n;
684
685 list_for_each_entry_safe(lip, n, list, li_bio_list) {
686 struct xfs_inode_log_item *iip = INODE_ITEM(lip);
687 bool drop_buffer = false;
688
689 spin_lock(&iip->ili_lock);
690
691 /*
692 * Remove the reference to the cluster buffer if the inode is
693 * clean in memory and drop the buffer reference once we've
694 * dropped the locks we hold.
695 */
696 ASSERT(iip->ili_item.li_buf == bp);
697 if (!iip->ili_fields) {
698 iip->ili_item.li_buf = NULL;
699 list_del_init(&lip->li_bio_list);
700 drop_buffer = true;
701 }
702 iip->ili_last_fields = 0;
703 iip->ili_flush_lsn = 0;
704 spin_unlock(&iip->ili_lock);
705 xfs_ifunlock(iip->ili_inode);
706 if (drop_buffer)
707 xfs_buf_rele(bp);
708 }
709 }
710
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40: sparse: sparse: incorrect type in initializer (different base types)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5e857ce6eae7ca21b2055cca4885545e29228fe2
commit: 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8 brcmfmac: Fix P2P Group Formation failure via Go-neg method
date: 6 weeks ago
config: riscv-randconfig-s032-20200618 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-10-gc17b1b06-dirty
git checkout 9c29da3f4e7ef9810bdfaf3d8aa5e6d2e33136f8
# save the attached .config to linux build tree
make W=1 C=1 ARCH=riscv CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40: sparse: sparse: incorrect type in initializer (different base types) @@ expected signed int [usertype] requested_dwell @@ got restricted __le32 [usertype] dwell_time @@
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40: sparse: expected signed int [usertype] requested_dwell
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:1710:40: sparse: got restricted __le32 [usertype] dwell_time
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:2202:5: sparse: sparse: symbol 'brcmf_p2p_get_conn_idx' was not declared. Should it be static?
vim +1710 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c
1671
1672 static bool brcmf_p2p_check_dwell_overflow(s32 requested_dwell,
1673 unsigned long dwell_jiffies)
1674 {
1675 if ((requested_dwell & CUSTOM_RETRY_MASK) &&
1676 (jiffies_to_msecs(jiffies - dwell_jiffies) >
1677 (requested_dwell & ~CUSTOM_RETRY_MASK))) {
1678 brcmf_err("Action frame TX retry time over dwell time!\n");
1679 return true;
1680 }
1681 return false;
1682 }
1683 /**
1684 * brcmf_p2p_send_action_frame() - send action frame .
1685 *
1686 * @cfg: driver private data for cfg80211 interface.
1687 * @ndev: net device to transmit on.
1688 * @af_params: configuration data for action frame.
1689 */
1690 bool brcmf_p2p_send_action_frame(struct brcmf_cfg80211_info *cfg,
1691 struct net_device *ndev,
1692 struct brcmf_fil_af_params_le *af_params)
1693 {
1694 struct brcmf_p2p_info *p2p = &cfg->p2p;
1695 struct brcmf_if *ifp = netdev_priv(ndev);
1696 struct brcmf_fil_action_frame_le *action_frame;
1697 struct brcmf_config_af_params config_af_params;
1698 struct afx_hdl *afx_hdl = &p2p->afx_hdl;
1699 struct brcmf_pub *drvr = cfg->pub;
1700 u16 action_frame_len;
1701 bool ack = false;
1702 u8 category;
1703 u8 action;
1704 s32 tx_retry;
1705 s32 extra_listen_time;
1706 uint delta_ms;
1707 unsigned long dwell_jiffies = 0;
1708 bool dwell_overflow = false;
1709
> 1710 s32 requested_dwell = af_params->dwell_time;
1711
1712 action_frame = &af_params->action_frame;
1713 action_frame_len = le16_to_cpu(action_frame->len);
1714
1715 brcmf_p2p_print_actframe(true, action_frame->data, action_frame_len);
1716
1717 /* Add the default dwell time. Dwell time to stay off-channel */
1718 /* to wait for a response action frame after transmitting an */
1719 /* GO Negotiation action frame */
1720 af_params->dwell_time = cpu_to_le32(P2P_AF_DWELL_TIME);
1721
1722 category = action_frame->data[DOT11_ACTION_CAT_OFF];
1723 action = action_frame->data[DOT11_ACTION_ACT_OFF];
1724
1725 /* initialize variables */
1726 p2p->next_af_subtype = P2P_PAF_SUBTYPE_INVALID;
1727 p2p->gon_req_action = false;
1728
1729 /* config parameters */
1730 config_af_params.mpc_onoff = -1;
1731 config_af_params.search_channel = false;
1732 config_af_params.extra_listen = false;
1733
1734 if (brcmf_p2p_is_pub_action(action_frame->data, action_frame_len)) {
1735 /* p2p public action frame process */
1736 if (brcmf_p2p_pub_af_tx(cfg, af_params, &config_af_params)) {
1737 /* Just send unknown subtype frame with */
1738 /* default parameters. */
1739 bphy_err(drvr, "P2P Public action frame, unknown subtype.\n");
1740 }
1741 } else if (brcmf_p2p_is_gas_action(action_frame->data,
1742 action_frame_len)) {
1743 /* service discovery process */
1744 if (action == P2PSD_ACTION_ID_GAS_IREQ ||
1745 action == P2PSD_ACTION_ID_GAS_CREQ) {
1746 /* configure service discovery query frame */
1747 config_af_params.search_channel = true;
1748
1749 /* save next af suptype to cancel */
1750 /* remaining dwell time */
1751 p2p->next_af_subtype = action + 1;
1752
1753 af_params->dwell_time =
1754 cpu_to_le32(P2P_AF_MED_DWELL_TIME);
1755 } else if (action == P2PSD_ACTION_ID_GAS_IRESP ||
1756 action == P2PSD_ACTION_ID_GAS_CRESP) {
1757 /* configure service discovery response frame */
1758 af_params->dwell_time =
1759 cpu_to_le32(P2P_AF_MIN_DWELL_TIME);
1760 } else {
1761 bphy_err(drvr, "Unknown action type: %d\n", action);
1762 goto exit;
1763 }
1764 } else if (brcmf_p2p_is_p2p_action(action_frame->data,
1765 action_frame_len)) {
1766 /* do not configure anything. it will be */
1767 /* sent with a default configuration */
1768 } else {
1769 bphy_err(drvr, "Unknown Frame: category 0x%x, action 0x%x\n",
1770 category, action);
1771 return false;
1772 }
1773
1774 /* if connecting on primary iface, sleep for a while before sending
1775 * af tx for VSDB
1776 */
1777 if (test_bit(BRCMF_VIF_STATUS_CONNECTING,
1778 &p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->sme_state))
1779 msleep(50);
1780
1781 /* if scan is ongoing, abort current scan. */
1782 if (test_bit(BRCMF_SCAN_STATUS_BUSY, &cfg->scan_status))
1783 brcmf_abort_scanning(cfg);
1784
1785 memcpy(afx_hdl->tx_dst_addr, action_frame->da, ETH_ALEN);
1786
1787 /* To make sure to send successfully action frame, turn off mpc */
1788 if (config_af_params.mpc_onoff == 0)
1789 brcmf_set_mpc(ifp, 0);
1790
1791 /* set status and destination address before sending af */
1792 if (p2p->next_af_subtype != P2P_PAF_SUBTYPE_INVALID) {
1793 /* set status to cancel the remained dwell time in rx process */
1794 set_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status);
1795 }
1796
1797 p2p->af_sent_channel = 0;
1798 set_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status);
1799 /* validate channel and p2p ies */
1800 if (config_af_params.search_channel &&
1801 IS_P2P_SOCIAL_CHANNEL(le32_to_cpu(af_params->channel)) &&
1802 p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->saved_ie.probe_req_ie_len) {
1803 afx_hdl = &p2p->afx_hdl;
1804 afx_hdl->peer_listen_chan = le32_to_cpu(af_params->channel);
1805
1806 if (brcmf_p2p_af_searching_channel(p2p) ==
1807 P2P_INVALID_CHANNEL) {
1808 bphy_err(drvr, "Couldn't find peer's channel.\n");
1809 goto exit;
1810 }
1811
1812 /* Abort scan even for VSDB scenarios. Scan gets aborted in
1813 * firmware but after the check of piggyback algorithm. To take
1814 * care of current piggback algo, lets abort the scan here
1815 * itself.
1816 */
1817 brcmf_notify_escan_complete(cfg, ifp, true, true);
1818
1819 /* update channel */
1820 af_params->channel = cpu_to_le32(afx_hdl->peer_chan);
1821 }
1822 dwell_jiffies = jiffies;
1823 dwell_overflow = brcmf_p2p_check_dwell_overflow(requested_dwell,
1824 dwell_jiffies);
1825
1826 tx_retry = 0;
1827 while (!p2p->block_gon_req_tx &&
1828 (!ack) && (tx_retry < P2P_AF_TX_MAX_RETRY) &&
1829 !dwell_overflow) {
1830 ack = !brcmf_p2p_tx_action_frame(p2p, af_params);
1831 tx_retry++;
1832 dwell_overflow = brcmf_p2p_check_dwell_overflow(requested_dwell,
1833 dwell_jiffies);
1834 }
1835 if (ack == false) {
1836 bphy_err(drvr, "Failed to send Action Frame(retry %d)\n",
1837 tx_retry);
1838 clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status);
1839 }
1840
1841 exit:
1842 clear_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status);
1843
1844 /* WAR: sometimes dongle does not keep the dwell time of 'actframe'.
1845 * if we coundn't get the next action response frame and dongle does
1846 * not keep the dwell time, go to listen state again to get next action
1847 * response frame.
1848 */
1849 if (ack && config_af_params.extra_listen && !p2p->block_gon_req_tx &&
1850 test_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status) &&
1851 p2p->af_sent_channel == afx_hdl->my_listen_chan) {
1852 delta_ms = jiffies_to_msecs(jiffies - p2p->af_tx_sent_jiffies);
1853 if (le32_to_cpu(af_params->dwell_time) > delta_ms)
1854 extra_listen_time = le32_to_cpu(af_params->dwell_time) -
1855 delta_ms;
1856 else
1857 extra_listen_time = 0;
1858 if (extra_listen_time > 50) {
1859 set_bit(BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,
1860 &p2p->status);
1861 brcmf_dbg(INFO, "Wait more time! actual af time:%d, calculated extra listen:%d\n",
1862 le32_to_cpu(af_params->dwell_time),
1863 extra_listen_time);
1864 extra_listen_time += 100;
1865 if (!brcmf_p2p_discover_listen(p2p,
1866 p2p->af_sent_channel,
1867 extra_listen_time)) {
1868 unsigned long duration;
1869
1870 extra_listen_time += 100;
1871 duration = msecs_to_jiffies(extra_listen_time);
1872 wait_for_completion_timeout(&p2p->wait_next_af,
1873 duration);
1874 }
1875 clear_bit(BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN,
1876 &p2p->status);
1877 }
1878 }
1879
1880 if (p2p->block_gon_req_tx) {
1881 /* if ack is true, supplicant will wait more time(100ms).
1882 * so we will return it as a success to get more time .
1883 */
1884 p2p->block_gon_req_tx = false;
1885 ack = true;
1886 }
1887
1888 clear_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status);
1889 /* if all done, turn mpc on again */
1890 if (config_af_params.mpc_onoff == 1)
1891 brcmf_set_mpc(ifp, 1);
1892
1893 return ack;
1894 }
1895
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
Re: [PATCH v1] dmaengine: acpi: Drop double check for ACPI companion device
by kernel test robot
Hi Andy,
I love your patch! Perhaps something to improve:
[auto build test WARNING on slave-dma/next]
[also build test WARNING on linus/master v5.8-rc2 next-20200622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/dmaengine-acpi-D...
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git next
config: i386-randconfig-a006-20200622 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/dma/acpi-dma.c: In function 'acpi_dma_request_slave_chan_by_index':
>> drivers/dma/acpi-dma.c:380:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
return ret;
^~~
vim +380 drivers/dma/acpi-dma.c
347
348 /**
349 * acpi_dma_request_slave_chan_by_index - Get the DMA slave channel
350 * @dev: struct device to get DMA request from
351 * @index: index of FixedDMA descriptor for @dev
352 *
353 * Return:
354 * Pointer to appropriate dma channel on success or an error pointer.
355 */
356 struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev,
357 size_t index)
358 {
359 struct acpi_dma_parser_data pdata;
360 struct acpi_dma_spec *dma_spec = &pdata.dma_spec;
361 struct acpi_device *adev = ACPI_COMPANION(dev);
362 struct list_head resource_list;
363 struct acpi_dma *adma;
364 struct dma_chan *chan = NULL;
365 int found;
366 int ret;
367
368 memset(&pdata, 0, sizeof(pdata));
369 pdata.index = index;
370
371 /* Initial values for the request line and channel */
372 dma_spec->chan_id = -1;
373 dma_spec->slave_id = -1;
374
375 INIT_LIST_HEAD(&resource_list);
376 ret = acpi_dev_get_resources(adev, &resource_list,
377 acpi_dma_parse_fixed_dma, &pdata);
378 acpi_dev_free_resource_list(&resource_list);
379 if (ret < 0)
> 380 return ret;
381
382 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0)
383 return ERR_PTR(-ENODEV);
384
385 mutex_lock(&acpi_dma_lock);
386
387 list_for_each_entry(adma, &acpi_dma_list, dma_controllers) {
388 /*
389 * We are not going to call translation function if slave_id
390 * doesn't fall to the request range.
391 */
392 found = acpi_dma_update_dma_spec(adma, dma_spec);
393 if (found < 0)
394 continue;
395 chan = adma->acpi_dma_xlate(dma_spec, adma);
396 /*
397 * Try to get a channel only from the DMA controller that
398 * matches the slave_id. See acpi_dma_update_dma_spec()
399 * description for the details.
400 */
401 if (found > 0 || chan)
402 break;
403 }
404
405 mutex_unlock(&acpi_dma_lock);
406 return chan ? chan : ERR_PTR(-EPROBE_DEFER);
407 }
408 EXPORT_SYMBOL_GPL(acpi_dma_request_slave_chan_by_index);
409
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[plbossart-sound:fix/more-dpcm-fixes 5/5] sound/soc/soc-dai.c:428:44: sparse: sparse: invalid access past the end of 'supported' (1 1)
by kernel test robot
tree: https://github.com/plbossart/sound fix/more-dpcm-fixes
head: daf63cf6c66926660b7ec88f6e017d97b30fc4d2
commit: daf63cf6c66926660b7ec88f6e017d97b30fc4d2 [5/5] ASoC: soc-dai: set dai_link dpcm_ flags with a helper
:::::: branch date: 28 hours ago
:::::: commit date: 28 hours ago
config: x86_64-randconfig-s022-20200621 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-18-g27caae40-dirty
git checkout daf63cf6c66926660b7ec88f6e017d97b30fc4d2
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> sound/soc/soc-dai.c:428:44: sparse: sparse: invalid access past the end of 'supported' (1 1)
# https://github.com/plbossart/sound/commit/daf63cf6c66926660b7ec88f6e017d9...
git remote add plbossart-sound https://github.com/plbossart/sound
git remote update plbossart-sound
git checkout daf63cf6c66926660b7ec88f6e017d97b30fc4d2
vim +/supported +428 sound/soc/soc-dai.c
0b73ba550cdd95 Kuninori Morimoto 2020-04-24 393
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 394 /*
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 395 * snd_soc_dai_link_set_capabilities() - set dai_link properties based on its DAIs
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 396 */
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 397 void snd_soc_dai_link_set_capabilities(struct snd_soc_dai_link *dai_link)
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 398 {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 399 struct snd_soc_dai_link_component *cpu;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 400 struct snd_soc_dai_link_component *codec;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 401 struct snd_soc_dai *dai;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 402 bool supported[SNDRV_PCM_STREAM_LAST];
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 403 int direction;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 404 int i;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 405
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 406 for_each_pcm_streams(direction) {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 407 supported[direction] = true;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 408
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 409 for_each_link_cpus(dai_link, i, cpu) {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 410 dai = snd_soc_find_dai(cpu);
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 411 if (!dai || !snd_soc_dai_stream_valid(dai, direction)) {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 412 supported[direction] = false;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 413 break;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 414 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 415 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 416 if (!supported[direction])
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 417 continue;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 418 for_each_link_codecs(dai_link, i, codec) {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 419 dai = snd_soc_find_dai(codec);
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 420 if (!dai || !snd_soc_dai_stream_valid(dai, direction)) {
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 421 supported[direction] = false;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 422 break;
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 423 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 424 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 425 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 426
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 427 dai_link->dpcm_playback = supported[SNDRV_PCM_STREAM_PLAYBACK];
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 @428 dai_link->dpcm_capture = supported[SNDRV_PCM_STREAM_CAPTURE];
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 429 }
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 430 EXPORT_SYMBOL_GPL(snd_soc_dai_link_set_capabilities);
daf63cf6c66926 Pierre-Louis Bossart 2020-06-16 431
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH] netfilter: Add MODULE_DESCRIPTION entries to kernel modules
by kernel test robot
Hi Rob,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on nf-next/master]
[also build test WARNING on v5.8-rc1 next-20200618]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Rob-Gill/netfilter-Add-MODULE_DE...
base: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: x86_64-randconfig-s022-20200619 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-18-g27caae40-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> net/netfilter/nft_reject_inet.c:152:1: sparse: sparse: macro "MODULE_DESCRIPTION" passed 1 arguments, but takes just 1
include/net/netfilter/ipv6/nf_reject.h:24:0: sparse: sparse: Expected ; at end of declaration
include/net/netfilter/ipv6/nf_reject.h:24:0: sparse: sparse: got end-of-input
# https://github.com/0day-ci/linux/commit/fba1516ed2fd485dba31c169de71cccc5...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout fba1516ed2fd485dba31c169de71cccc5a98df77
vim +/MODULE_DESCRIPTION +152 net/netfilter/nft_reject_inet.c
05513e9e33dbde Patrick McHardy 2014-02-05 148
05513e9e33dbde Patrick McHardy 2014-02-05 149 MODULE_LICENSE("GPL");
05513e9e33dbde Patrick McHardy 2014-02-05 150 MODULE_AUTHOR("Patrick McHardy <kaber(a)trash.net>");
05513e9e33dbde Patrick McHardy 2014-02-05 151 MODULE_ALIAS_NFT_AF_EXPR(1, "reject");
fba1516ed2fd48 Rob Gill 2020-06-20 @152 MODULE_DESCRIPTION("Netfilter nf_tables reject inet support"
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months