CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Kees Cook <[email protected]>
CC: Michael Chan <[email protected]>
CC: "Gustavo A. R. Silva" <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   372b2891c15acbf7b90d948b08ac174bde77102c
commit: 13ec5fd4a29e10c9135331aa6f03cc05361775b6 [8845/10077] bnxt_en: Use 
struct_group_attr() for memcpy() region
:::::: branch date: 11 hours ago
:::::: commit date: 3 days ago
config: alpha-allmodconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-348-gf0e6938b-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=13ec5fd4a29e10c9135331aa6f03cc05361775b6
        git remote add linux-next 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 13ec5fd4a29e10c9135331aa6f03cc05361775b6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha 
SHELL=/bin/bash drivers/net/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


sparse warnings: (new ones prefixed by >>)
   drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c: note: in included file:
>> drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h:30:1: sparse: sparse: 
>> directive in macro's argument list
--
   drivers/net/ethernet/broadcom/bnxt/bnxt.c: note: in included file:
>> drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h:30:1: sparse: sparse: 
>> directive in macro's argument list

vim +30 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.h

7df4ae9fe85567 Michael Chan 2016-12-02  23  
7df4ae9fe85567 Michael Chan 2016-12-02  24  struct bnxt_cos2bw_cfg {
7df4ae9fe85567 Michael Chan 2016-12-02  25      u8                      pad[3];
13ec5fd4a29e10 Kees Cook    2021-05-24  26      struct_group_attr(cfg, __packed,
7df4ae9fe85567 Michael Chan 2016-12-02  27              u8              
queue_id;
7df4ae9fe85567 Michael Chan 2016-12-02  28              __le32          min_bw;
7df4ae9fe85567 Michael Chan 2016-12-02  29              __le32          max_bw;
70098a47bbf131 Michael Chan 2017-07-24 @30  #define BW_VALUE_UNIT_PERCENT1_100  
        (0x1UL << 29)
7df4ae9fe85567 Michael Chan 2016-12-02  31              u8              tsa;
7df4ae9fe85567 Michael Chan 2016-12-02  32              u8              pri_lvl;
7df4ae9fe85567 Michael Chan 2016-12-02  33              u8              
bw_weight;
13ec5fd4a29e10 Kees Cook    2021-05-24  34      );
7df4ae9fe85567 Michael Chan 2016-12-02  35      u8                      unused;
7df4ae9fe85567 Michael Chan 2016-12-02  36  };
7df4ae9fe85567 Michael Chan 2016-12-02  37  

:::::: The code at line 30 was first introduced by commit
:::::: 70098a47bbf131b65c64ca935c2480e64c9c7c51 bnxt_en: Set ETS min_bw 
parameter for older firmware.

:::::: TO: Michael Chan <[email protected]>
:::::: CC: David S. Miller <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to