lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 22 Dec 2021 01:15:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hector Martin <marcan@...can.st>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ