From: kernel test robot <lkp@intel.com>
To: Paul Cercueil <paul.cercueil@bootlin.com>,
Mark Brown <broonie@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-spi@vger.kernel.org,
linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Bharat Bhushan <bbhushan2@marvell.com>,
Sunil Kovvuri Goutham <sgoutham@marvell.com>,
Tanmay Jagdale <tanmay@marvell.com>,
Jisheng Zhang <jszhang@kernel.org>,
Paul Cercueil <paul.cercueil@bootlin.com>
Subject: Re: [PATCH v2 6/6] spi: cadence-xspi: Add workaround for old Marvell firmwares
Date: Thu, 12 Nov 2026 10:53:13 +0800 [thread overview]
Message-ID: <202611121026.JlDpURlH-lkp@intel.com> (raw)
In-Reply-To: <20261111103541.100848-7-paul.cercueil@bootlin.com>
Hi Paul,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-spi/for-next]
[also build test ERROR on linus/master v7.4-rc2 next-20261110]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Paul-Cercueil/spi-cadence-xspi-Properly-handle-errors-in-transfer_one_message/20261111-113536
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
patch link: https://lore.kernel.org/r/20261111103541.100848-7-paul.cercueil%40bootlin.com
patch subject: [PATCH v2 6/6] spi: cadence-xspi: Add workaround for old Marvell firmwares
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261112/202611121026.JlDpURlH-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261112/202611121026.JlDpURlH-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/202611121026.JlDpURlH-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/spi/spi-cadence-xspi.c:1234:40: error: array type has incomplete element type 'struct acpi_platform_list'
1234 | static const struct acpi_platform_list mrvl_platform_list[] = {
| ^~~~~~~~~~~~~~~~~~
>> drivers/spi/spi-cadence-xspi.c:1239:25: error: 'all_versions' undeclared here (not in a function)
1239 | .pred = all_versions,
| ^~~~~~~~~~~~
drivers/spi/spi-cadence-xspi.c: In function 'cdns_is_marvell':
>> drivers/spi/spi-cadence-xspi.c:1249:24: error: implicit declaration of function 'acpi_match_platform_list' [-Werror=implicit-function-declaration]
1249 | return acpi_match_platform_list(mrvl_platform_list) >= 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~
At top level:
>> drivers/spi/spi-cadence-xspi.c:1234:40: warning: 'mrvl_platform_list' defined but not used [-Wunused-variable]
1234 | static const struct acpi_platform_list mrvl_platform_list[] = {
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +1234 drivers/spi/spi-cadence-xspi.c
1233
> 1234 static const struct acpi_platform_list mrvl_platform_list[] = {
1235 {
1236 .oem_id = "MRVL ",
1237 .oem_table_id = "CN10K",
1238 .table = ACPI_SIG_DSDT,
> 1239 .pred = all_versions,
1240 },
1241 { }
1242 };
1243
1244 static inline bool cdns_is_marvell(struct device *dev)
1245 {
1246 const char *compatible;
1247
1248 if (has_acpi_companion(dev))
> 1249 return acpi_match_platform_list(mrvl_platform_list) >= 0;
1250
1251 if (of_machine_read_compatible(&compatible, 0) < 0)
1252 return false; /* shouldn't actually happen */
1253
1254 return strstarts(compatible, "marvell,");
1255 }
1256
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-11-12 3:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 10:35 [PATCH v2 0/6] spi: cadence-xspi: Fixes and ACPI changes Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 1/6] spi: cadence-xspi: Properly handle errors in .transfer_one_message Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 2/6] spi: cadence-xspi: Reconfigure to STIG mode before SPI message Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 3/6] spi: cadence-xspi: Inform SPI core about size transferred Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 4/6] spi: cadence-xspi: Drop useless cdns_xspi->cur_cs Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 5/6] spi: cadence-xspi: Rework resource discovery Paul Cercueil
2026-11-11 10:35 ` [PATCH v2 6/6] spi: cadence-xspi: Add workaround for old Marvell firmwares Paul Cercueil
2026-11-12 2:53 ` kernel test robot [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=202611121026.JlDpURlH-lkp@intel.com \
--to=lkp@intel.com \
--cc=bbhushan2@marvell.com \
--cc=broonie@kernel.org \
--cc=jszhang@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paul.cercueil@bootlin.com \
--cc=sgoutham@marvell.com \
--cc=tanmay@marvell.com \
--cc=thomas.petazzoni@bootlin.com \
/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
all inboxes | Powered by JetHome®