From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH v2] wifi: cfg80211: check radio iface combination for multi radio per wiphy
Date: Tue, 20 Aug 2024 00:39:51 +0800 [thread overview]
Message-ID: <202408200004.5sqDWe4e-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20240813055917.2320582-1-quic_periyasa@quicinc.com>
References: <20240813055917.2320582-1-quic_periyasa@quicinc.com>
TO: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
TO: johannes@sipsolutions.net
CC: linux-wireless@vger.kernel.org
CC: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Hi Karthikeyan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on cc32e9fb380d8afdbf3486d7063d5520bfb0f071]
url: https://github.com/intel-lab-lkp/linux/commits/Karthikeyan-Periyasamy/wifi-cfg80211-check-radio-iface-combination-for-multi-radio-per-wiphy/20240815-005751
base: cc32e9fb380d8afdbf3486d7063d5520bfb0f071
patch link: https://lore.kernel.org/r/20240813055917.2320582-1-quic_periyasa%40quicinc.com
patch subject: [PATCH v2] wifi: cfg80211: check radio iface combination for multi radio per wiphy
:::::: branch date: 5 days ago
:::::: commit date: 5 days ago
config: csky-randconfig-r072-20240819 (https://download.01.org/0day-ci/archive/20240820/202408200004.5sqDWe4e-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.1.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202408200004.5sqDWe4e-lkp@intel.com/
smatch warnings:
net/wireless/core.c:719 wiphy_verify_combinations() error: uninitialized symbol 'ret'.
vim +/ret +719 net/wireless/core.c
7527a782e187d1 Johannes Berg 2011-05-13 698
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 699 static int wiphy_verify_combinations(struct wiphy *wiphy)
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 700 {
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 701 int i, ret;
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 702
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 703 if (wiphy->n_radio) {
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 704 for (i = 0; i < wiphy->n_radio; i++) {
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 705 const struct wiphy_radio *radio = &wiphy->radio[i];
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 706
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 707 ret = wiphy_verify_iface_combinations(wiphy,
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 708 radio->iface_combinations,
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 709 radio->n_iface_combinations);
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 710 if (ret)
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 711 return ret;
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 712 }
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 713 } else {
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 714 ret = wiphy_verify_iface_combinations(wiphy,
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 715 wiphy->iface_combinations,
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 716 wiphy->n_iface_combinations);
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 717 }
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 718
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 @719 return ret;
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 720 }
acac11b3dc4e4f Karthikeyan Periyasamy 2024-08-13 721
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-08-19 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 16:39 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-13 5:59 [PATCH v2] wifi: cfg80211: check radio iface combination for multi radio per wiphy Karthikeyan Periyasamy
2024-08-28 10:49 ` Johannes Berg
2024-08-28 10:51 ` Johannes Berg
2024-08-28 16:36 ` Karthikeyan Periyasamy
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=202408200004.5sqDWe4e-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/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.