[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505111905.tlinDurh-lkp@intel.com>
Date: Sun, 11 May 2025 19:13:00 +0800
From: kernel test robot <lkp@...el.com>
To: Alexey Charkov <alchark@...il.com>, Mark Brown <broonie@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Pratyush Yadav <pratyush@...nel.org>,
Michael Walle <mwalle@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-spi@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
Alexey Charkov <alchark@...il.com>
Subject: Re: [PATCH 2/3] mtd: spi-nor: Add a driver for the VIA/WonderMedia
serial flash controller
Hi Alexey,
kernel test robot noticed the following build errors:
[auto build test ERROR on ed61cb3d78d585209ec775933078e268544fe9a4]
url: https://github.com/intel-lab-lkp/linux/commits/Alexey-Charkov/dt-bindings-spi-Add-VIA-WonderMedia-serial-flash-controller/20250511-034459
base: ed61cb3d78d585209ec775933078e268544fe9a4
patch link: https://lore.kernel.org/r/20250510-wmt-sflash-v1-2-02a1ac6adf12%40gmail.com
patch subject: [PATCH 2/3] mtd: spi-nor: Add a driver for the VIA/WonderMedia serial flash controller
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250511/202505111905.tlinDurh-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250511/202505111905.tlinDurh-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505111905.tlinDurh-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mtd/spi-nor/controllers/wmt-sflash.c: In function 'wmt_sflash_pcmd_mode':
>> drivers/mtd/spi-nor/controllers/wmt-sflash.c:132:16: error: implicit declaration of function 'FIELD_PREP' [-Wimplicit-function-declaration]
132 | reg |= FIELD_PREP(SF_PROG_CMD_MOD, enable);
| ^~~~~~~~~~
vim +/FIELD_PREP +132 drivers/mtd/spi-nor/controllers/wmt-sflash.c
126
127 static void wmt_sflash_pcmd_mode(struct wmt_sflash_host *host, bool enable)
128 {
129 u32 reg = readl(host->regbase + SF_SPI_INTF_CFG);
130
131 reg &= ~SF_PROG_CMD_MOD;
> 132 reg |= FIELD_PREP(SF_PROG_CMD_MOD, enable);
133 writel(reg, host->regbase + SF_SPI_INTF_CFG);
134 }
135
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists