ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Manikanta Pubbisetty <mpubbise@codeaurora.org>
Cc: Kalle Valo <kvalo@codeaurora.org>,
	kbuild-all@01.org, ath10k@lists.infradead.org
Subject: [ath6kl:ath11k-bringup 46/60] drivers/net/wireless/ath/ath11k/dp_rx.c:2016:16: sparse: symbol 'ath11k_dp_rx_alloc_mon_status_buf' was not declared. Should it be static?
Date: Fri, 22 Mar 2019 08:05:33 +0800	[thread overview]
Message-ID: <201903220804.WHevvYHk%lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-bringup
head:   3c46e2415dac1f744640d0e42594fb27de804df9
commit: ecee39218556f1d47d797521e11890556b15109d [46/60] ath11k: initialise monitor status ring
reproduce:
        # apt-get install sparse
        git checkout ecee39218556f1d47d797521e11890556b15109d
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

   drivers/net/wireless/ath/ath11k/dp_tx.c:644:23: sparse: dubious: x & !y
   drivers/net/wireless/ath/ath11k/dp_tx.c:646:23: sparse: dubious: x & !y
   drivers/net/wireless/ath/ath11k/dp_tx.c:649:23: sparse: dubious: x & !y
   drivers/net/wireless/ath/ath11k/dp_tx.c:833:23: sparse: dubious: x & !y
   drivers/net/wireless/ath/ath11k/dp_tx.c:835:23: sparse: dubious: x & !y
>> drivers/net/wireless/ath/ath11k/dp_tx.c:840:33: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [unsigned] [usertype] pkt_type_en_flags0 @@    got ed int [unsigned] [usertype] pkt_type_en_flags0 @@
   drivers/net/wireless/ath/ath11k/dp_tx.c:840:33:    expected unsigned int [unsigned] [usertype] pkt_type_en_flags0
   drivers/net/wireless/ath/ath11k/dp_tx.c:840:33:    got restricted __le32 [usertype] <noident>
>> drivers/net/wireless/ath/ath11k/dp_tx.c:841:33: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [unsigned] [usertype] pkt_type_en_flags1 @@    got ed int [unsigned] [usertype] pkt_type_en_flags1 @@
   drivers/net/wireless/ath/ath11k/dp_tx.c:841:33:    expected unsigned int [unsigned] [usertype] pkt_type_en_flags1
   drivers/net/wireless/ath/ath11k/dp_tx.c:841:33:    got restricted __le32 [usertype] <noident>
>> drivers/net/wireless/ath/ath11k/dp_tx.c:842:33: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [unsigned] [usertype] pkt_type_en_flags2 @@    got ed int [unsigned] [usertype] pkt_type_en_flags2 @@
   drivers/net/wireless/ath/ath11k/dp_tx.c:842:33:    expected unsigned int [unsigned] [usertype] pkt_type_en_flags2
   drivers/net/wireless/ath/ath11k/dp_tx.c:842:33:    got restricted __le32 [usertype] <noident>
>> drivers/net/wireless/ath/ath11k/dp_tx.c:843:33: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [unsigned] [usertype] pkt_type_en_flags3 @@    got ed int [unsigned] [usertype] pkt_type_en_flags3 @@
   drivers/net/wireless/ath/ath11k/dp_tx.c:843:33:    expected unsigned int [unsigned] [usertype] pkt_type_en_flags3
   drivers/net/wireless/ath/ath11k/dp_tx.c:843:33:    got restricted __le32 [usertype] <noident>
>> drivers/net/wireless/ath/ath11k/dp_tx.c:844:28: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [unsigned] [usertype] rx_filter_tlv @@    got ed int [unsigned] [usertype] rx_filter_tlv @@
   drivers/net/wireless/ath/ath11k/dp_tx.c:844:28:    expected unsigned int [unsigned] [usertype] rx_filter_tlv
   drivers/net/wireless/ath/ath11k/dp_tx.c:844:28:    got restricted __le32 [usertype] <noident>
--
   drivers/net/wireless/ath/ath11k/dp_rx.c:30:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:30:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:42:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:42:23: sparse: expression using sizeof(void)
>> drivers/net/wireless/ath/ath11k/dp_rx.c:2016:16: sparse: symbol 'ath11k_dp_rx_alloc_mon_status_buf' was not declared. Should it be static?
   drivers/net/wireless/ath/ath11k/dp_rx.c:2076:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:2076:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:2086:23: sparse: expression using sizeof(void)
   drivers/net/wireless/ath/ath11k/dp_rx.c:2086:23: sparse: expression using sizeof(void)

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

             reply	other threads:[~2019-03-22  3:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22  0:05 kbuild test robot [this message]
2019-03-22  0:05 ` [RFC PATCH ath6kl] ath11k: ath11k_dp_rx_alloc_mon_status_buf can be static kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201903220804.WHevvYHk%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=kbuild-all@01.org \
    --cc=kvalo@codeaurora.org \
    --cc=mpubbise@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox