From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/net/wireless/ath/ath11k/dp_rx.c:5372 ath11k_dp_rx_full_mon_deliver_ppdu() error: uninitialized symbol 'ret'.
Date: Thu, 27 Jan 2022 19:06:44 +0800 [thread overview]
Message-ID: <202201271916.JALV74tL-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3920 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Anilkumar Kolli <akolli@codeaurora.org>
CC: Kalle Valo <quic_kvalo@quicinc.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0280e3c58f92b2fe0e8fbbdf8d386449168de4a8
commit: 7e2ea2e947046834a450295dfd328adb70a9f864 ath11k: Process full monitor mode rx support
date: 7 weeks ago
:::::: branch date: 2 days ago
:::::: commit date: 7 weeks ago
config: microblaze-randconfig-m031-20220127 (https://download.01.org/0day-ci/archive/20220127/202201271916.JALV74tL-lkp(a)intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
New smatch warnings:
drivers/net/wireless/ath/ath11k/dp_rx.c:5372 ath11k_dp_rx_full_mon_deliver_ppdu() error: uninitialized symbol 'ret'.
Old smatch warnings:
arch/microblaze/include/asm/thread_info.h:91 current_thread_info() error: uninitialized symbol 'sp'.
drivers/net/wireless/ath/ath11k/dp_rx.c:1671 ath11k_htt_backpressure_event_handler() warn: potential spectre issue 'ab->soc_stats.bp_stats.umac_ring_bp_stats' [r]
vim +/ret +5372 drivers/net/wireless/ath/ath11k/dp_rx.c
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5343
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5344 static int ath11k_dp_rx_full_mon_deliver_ppdu(struct ath11k *ar,
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5345 int mac_id,
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5346 struct ath11k_mon_data *pmon,
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5347 struct napi_struct *napi)
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5348 {
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5349 struct ath11k_pdev_mon_stats *rx_mon_stats;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5350 struct dp_full_mon_mpdu *tmp;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5351 struct dp_full_mon_mpdu *mon_mpdu = pmon->mon_mpdu;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5352 struct sk_buff *head_msdu, *tail_msdu;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5353 struct ath11k_base *ab = ar->ab;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5354 struct ath11k_dp *dp = &ab->dp;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5355 int ret;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5356
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5357 rx_mon_stats = &pmon->rx_mon_stats;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5358
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5359 list_for_each_entry_safe(mon_mpdu, tmp, &dp->dp_full_mon_mpdu_list, list) {
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5360 list_del(&mon_mpdu->list);
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5361 head_msdu = mon_mpdu->head;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5362 tail_msdu = mon_mpdu->tail;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5363 if (head_msdu && tail_msdu) {
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5364 ret = ath11k_dp_rx_mon_deliver(ar, mac_id, head_msdu,
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5365 tail_msdu, napi);
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5366 rx_mon_stats->dest_mpdu_done++;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5367 ath11k_dbg(ar->ab, ATH11K_DBG_DATA, "full mon: deliver ppdu\n");
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5368 }
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5369 kfree(mon_mpdu);
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5370 }
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5371
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 @5372 return ret;
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5373 }
7e2ea2e9470468 Anilkumar Kolli 2021-12-08 5374
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-01-27 11:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 11:06 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-05 22:13 drivers/net/wireless/ath/ath11k/dp_rx.c:5372 ath11k_dp_rx_full_mon_deliver_ppdu() error: uninitialized symbol 'ret' kernel 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=202201271916.JALV74tL-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.