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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202108290813.LzLsmcL1-lkp@intel.com>
Date:   Sun, 29 Aug 2021 08:13:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Michael Chan <michael.chan@...adcom.com>, davem@...emloft.net
Cc:     kbuild-all@...ts.01.org, netdev@...r.kernel.org, kuba@...nel.org,
        edwin.peer@...adcom.com, gospo@...adcom.com
Subject: Re: [PATCH net-next 04/11] bnxt_en: introduce new firmware message
 API based on DMA pools

Hi Michael,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Michael-Chan/bnxt_en-Implement-new-driver-APIs-to-send-FW-messages/20210829-060031
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c77225119daa0ca0a9c6c007945c0a87b3e4a2e8
config: parisc-allyesconfig (attached as .config)
compiler: hppa-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/0day-ci/linux/commit/1df59a1f67c1c3455560a00eb9e706b12eda653a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Michael-Chan/bnxt_en-Implement-new-driver-APIs-to-send-FW-messages/20210829-060031
        git checkout 1df59a1f67c1c3455560a00eb9e706b12eda653a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc 

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 >>):

   In file included from drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:24:
   drivers/net/ethernet/broadcom/bnxt/bnxt.h:2116: warning: "writeq" redefined
    2116 | #define writeq(val64, db)                       \
         | 
   In file included from include/linux/scatterlist.h:9,
                    from include/linux/dma-mapping.h:10,
                    from drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:11:
   arch/parisc/include/asm/io.h:211: note: this is the location of the previous definition
     211 | #define writeq  writeq
         | 
   In file included from drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:24:
   drivers/net/ethernet/broadcom/bnxt/bnxt.h:2124: warning: "writeq_relaxed" redefined
    2124 | #define writeq_relaxed writeq
         | 
   In file included from include/linux/scatterlist.h:9,
                    from include/linux/dma-mapping.h:10,
                    from drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:11:
   arch/parisc/include/asm/io.h:220: note: this is the location of the previous definition
     220 | #define writeq_relaxed(q, addr) writeq(q, addr)
         | 
   drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c: In function 'hwrm_calc_sentinel':
>> drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c:40:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      40 |         return (((u64)ctx) + req_type) ^ BNXT_HWRM_SENTINEL;
         |                  ^


vim +40 drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c

    37	
    38	static u64 hwrm_calc_sentinel(struct bnxt_hwrm_ctx *ctx, u16 req_type)
    39	{
  > 40		return (((u64)ctx) + req_type) ^ BNXT_HWRM_SENTINEL;
    41	}
    42	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (68630 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ