All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michael Chan <michael.chan@broadcom.com>, davem@davemloft.net
Cc: kbuild-all@lists.01.org, netdev@vger.kernel.org, kuba@kernel.org,
	edwin.peer@broadcom.com, gospo@broadcom.com
Subject: Re: [PATCH net-next 04/11] bnxt_en: introduce new firmware message API based on DMA pools
Date: Sun, 29 Aug 2021 08:13:00 +0800	[thread overview]
Message-ID: <202108290813.LzLsmcL1-lkp@intel.com> (raw)
In-Reply-To: <1630187910-22252-5-git-send-email-michael.chan@broadcom.com>

[-- Attachment #1: Type: text/plain, Size: 3053 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68630 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net-next 04/11] bnxt_en: introduce new firmware message API based on DMA pools
Date: Sun, 29 Aug 2021 08:13:00 +0800	[thread overview]
Message-ID: <202108290813.LzLsmcL1-lkp@intel.com> (raw)
In-Reply-To: <1630187910-22252-5-git-send-email-michael.chan@broadcom.com>

[-- Attachment #1: Type: text/plain, Size: 3118 bytes --]

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@intel.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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 68630 bytes --]

  reply	other threads:[~2021-08-29  0:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-28 21:58 [PATCH net-next 00/11] bnxt_en: Implement new driver APIs to send FW messages Michael Chan
2021-08-28 21:58 ` [PATCH net-next 01/11] bnxt_en: remove DMA mapping for KONG response Michael Chan
2021-08-28 21:58 ` [PATCH net-next 02/11] bnxt_en: Refactor the HWRM_VER_GET firmware calls Michael Chan
2021-08-28 21:58 ` [PATCH net-next 03/11] bnxt_en: move HWRM API implementation into separate file Michael Chan
2021-08-28 21:58 ` [PATCH net-next 04/11] bnxt_en: introduce new firmware message API based on DMA pools Michael Chan
2021-08-29  0:13   ` kernel test robot [this message]
2021-08-29  0:13     ` kernel test robot
2021-08-28 21:58 ` [PATCH net-next 05/11] bnxt_en: discard out of sequence HWRM responses Michael Chan
2021-08-28 21:58 ` [PATCH net-next 06/11] bnxt_en: add HWRM request assignment API Michael Chan
2021-08-28 21:58 ` [PATCH net-next 07/11] bnxt_en: add support for HWRM request slices Michael Chan
2021-08-28 21:58 ` [PATCH net-next 08/11] bnxt_en: use link_lock instead of hwrm_cmd_lock to protect link_info Michael Chan
2021-08-28 21:58 ` [PATCH net-next 09/11] bnxt_en: update all firmware calls to use the new APIs Michael Chan
2021-08-29  3:49   ` kernel test robot
2021-08-29  3:49     ` kernel test robot
2021-08-28 21:58 ` [PATCH net-next 10/11] bnxt_en: remove legacy HWRM interface Michael Chan
2021-08-28 21:58 ` [PATCH net-next 11/11] bnxt_en: support multiple HWRM commands in flight Michael Chan
2021-08-28 22:07 ` [PATCH net-next 00/11] bnxt_en: Implement new driver APIs to send FW messages Andrew Lunn
2021-08-28 22:58   ` Michael Chan

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=202108290813.LzLsmcL1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=edwin.peer@broadcom.com \
    --cc=gospo@broadcom.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.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.