linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <simon@horms.net>
To: kernel test robot <lkp@intel.com>
Cc: Furong Xu <0x1207@gmail.com>,
	oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 3159/4898] drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:836:20: error: initializer element is not constant
Date: Thu, 8 Feb 2024 09:55:02 +0000	[thread overview]
Message-ID: <20240208095502.GB1435458@vergenet.net> (raw)
In-Reply-To: <202402081135.lAxxBXHk-lkp@intel.com>

On Thu, Feb 08, 2024 at 11:23:25AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   2ae0a045e6814c8c1d676d6153c605a65746aa29
> commit: 46eba193d04f8bd717e525eb4110f3c46c12aec3 [3159/4898] net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
> config: x86_64-randconfig-121-20240208 (https://download.01.org/0day-ci/archive/20240208/202402081135.lAxxBXHk-lkp@intel.com/config)
> compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240208/202402081135.lAxxBXHk-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202402081135.lAxxBXHk-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:836:20: error: initializer element is not constant
>      { true, "TDPES0", dpp_tx_err },
>                        ^~~~~~~~~~
>    drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:836:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[0].detailed_desc')
>    drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:837:20: error: initializer element is not constant
>      { true, "TDPES1", dpp_tx_err },
>                        ^~~~~~~~~~

...

I have posted a patch to address this problem.

- [PATCH net] net: stmmac: xgmac: use #define for string constants
  https://lore.kernel.org/netdev/20240208-xgmac-const-v1-1-e69a1eeabfc8@kernel.org/



      reply	other threads:[~2024-02-08  9:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08  3:23 kernel test robot
2024-02-08  9:55 ` Simon Horman [this message]

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=20240208095502.GB1435458@vergenet.net \
    --to=simon@horms.net \
    --cc=0x1207@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox