All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2021-12-21 17:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-21 17:15 UTC (permalink / raw)
  To: Hector Martin; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2021-12-21 17:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-21 17:15 UTC (permalink / raw)
  To: kbuild-all

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-21 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-12-21 17:15 ` kernel test robot

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.