From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [asahilinux:wifi/take1 85/91] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4077:1: warning: the frame size of 1800 bytes is larger than 1024 bytes
Date: Wed, 22 Dec 2021 01:15:04 +0800 [thread overview]
Message-ID: <202112220041.deKpnjGs-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2789 bytes --]
tree: https://github.com/AsahiLinux/linux wifi/take1
head: 834938020c08ed3b67af49e60513162a0f1a41fc
commit: d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd [85/91] brcmfmac: cfg80211: Add support for PMKID_V3 operations
config: nds32-allyesconfig (https://download.01.org/0day-ci/archive/20211222/202112220041.deKpnjGs-lkp(a)intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
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
# https://github.com/AsahiLinux/linux/commit/d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux wifi/take1
git checkout d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/net/wireless/broadcom/brcm80211/brcmfmac/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_pmksa_v3_op':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4077:1: warning: the frame size of 1800 bytes is larger than 1024 bytes [-Wframe-larger-than=]
4077 | }
| ^
vim +4077 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
4050
4051 static s32
4052 brcmf_pmksa_v3_op(struct brcmf_if *ifp, struct cfg80211_pmksa *pmksa,
4053 bool alive)
4054 {
4055 struct brcmf_pmk_op_v3_le pmk_op;
4056 int length = offsetof(struct brcmf_pmk_op_v3_le, pmk);
4057
4058 memset(&pmk_op, 0, sizeof(pmk_op));
4059 pmk_op.version = cpu_to_le16(BRCMF_PMKSA_VER_3);
4060
4061 if (!pmksa) {
4062 /* Flush operation, operate on entire list */
4063 pmk_op.count = cpu_to_le16(0);
4064 } else {
4065 /* Single PMK operation */
4066 pmk_op.count = cpu_to_le16(1);
4067 length += sizeof(struct brcmf_pmksa_v3);
4068 memcpy(pmk_op.pmk[0].bssid, pmksa->bssid, ETH_ALEN);
4069 memcpy(pmk_op.pmk[0].pmkid, pmksa->pmkid, WLAN_PMKID_LEN);
4070 pmk_op.pmk[0].pmkid_len = WLAN_PMKID_LEN;
4071 pmk_op.pmk[0].time_left = alive ? BRCMF_PMKSA_NO_EXPIRY : 0;
4072 }
4073
4074 pmk_op.length = cpu_to_le16(length);
4075
4076 return brcmf_fil_iovar_data_set(ifp, "pmkid_info", &pmk_op, sizeof(pmk_op));
> 4077 }
4078
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Hector Martin <marcan@marcan.st>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [asahilinux:wifi/take1 85/91] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4077:1: warning: the frame size of 1800 bytes is larger than 1024 bytes
Date: Wed, 22 Dec 2021 01:15:04 +0800 [thread overview]
Message-ID: <202112220041.deKpnjGs-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux wifi/take1
head: 834938020c08ed3b67af49e60513162a0f1a41fc
commit: d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd [85/91] brcmfmac: cfg80211: Add support for PMKID_V3 operations
config: nds32-allyesconfig (https://download.01.org/0day-ci/archive/20211222/202112220041.deKpnjGs-lkp@intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
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
# https://github.com/AsahiLinux/linux/commit/d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux wifi/take1
git checkout d3ffbfeeb6594d1354497a8e20fd2f31b1788ddd
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/net/wireless/broadcom/brcm80211/brcmfmac/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_pmksa_v3_op':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4077:1: warning: the frame size of 1800 bytes is larger than 1024 bytes [-Wframe-larger-than=]
4077 | }
| ^
vim +4077 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
4050
4051 static s32
4052 brcmf_pmksa_v3_op(struct brcmf_if *ifp, struct cfg80211_pmksa *pmksa,
4053 bool alive)
4054 {
4055 struct brcmf_pmk_op_v3_le pmk_op;
4056 int length = offsetof(struct brcmf_pmk_op_v3_le, pmk);
4057
4058 memset(&pmk_op, 0, sizeof(pmk_op));
4059 pmk_op.version = cpu_to_le16(BRCMF_PMKSA_VER_3);
4060
4061 if (!pmksa) {
4062 /* Flush operation, operate on entire list */
4063 pmk_op.count = cpu_to_le16(0);
4064 } else {
4065 /* Single PMK operation */
4066 pmk_op.count = cpu_to_le16(1);
4067 length += sizeof(struct brcmf_pmksa_v3);
4068 memcpy(pmk_op.pmk[0].bssid, pmksa->bssid, ETH_ALEN);
4069 memcpy(pmk_op.pmk[0].pmkid, pmksa->pmkid, WLAN_PMKID_LEN);
4070 pmk_op.pmk[0].pmkid_len = WLAN_PMKID_LEN;
4071 pmk_op.pmk[0].time_left = alive ? BRCMF_PMKSA_NO_EXPIRY : 0;
4072 }
4073
4074 pmk_op.length = cpu_to_le16(length);
4075
4076 return brcmf_fil_iovar_data_set(ifp, "pmkid_info", &pmk_op, sizeof(pmk_op));
> 4077 }
4078
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2021-12-21 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 17:15 kernel test robot [this message]
2021-12-21 17:15 ` [asahilinux:wifi/take1 85/91] drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:4077:1: warning: the frame size of 1800 bytes is larger than 1024 bytes 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=202112220041.deKpnjGs-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@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.