From: kernel test robot <lkp@intel.com>
To: Pei Xiao <xiaopei01@kylinos.cn>,
linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev,
openbmc@lists.ozlabs.org, linux-rockchip@lists.infradead.org,
linux-riscv@lists.infradead.org,
linux-mediatek@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com, broonie@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Pei Xiao <xiaopei01@kylinos.cn>
Subject: Re: [PATCH v3 01/17] spi: axiado: Use helper function devm_clk_get_enabled()
Date: Wed, 18 Mar 2026 23:05:24 +0800 [thread overview]
Message-ID: <202603182309.Rj2JxGYZ-lkp@intel.com> (raw)
In-Reply-To: <a78f25f1b15b90121e9723ecb5bd606bbb1868d4.1773733017.git.xiaopei01@kylinos.cn>
Hi Pei,
kernel test robot noticed the following build warnings:
[auto build test WARNING on broonie-spi/for-next]
[also build test WARNING on next-20260317]
[cannot apply to atorgue-stm32/stm32-next rockchip/for-next xilinx-xlnx/master clk/clk-next shawnguo/for-next soc/for-next linus/master v7.0-rc4]
[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/Pei-Xiao/spi-axiado-Use-helper-function-devm_clk_get_enabled/20260318-110300
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
patch link: https://lore.kernel.org/r/a78f25f1b15b90121e9723ecb5bd606bbb1868d4.1773733017.git.xiaopei01%40kylinos.cn
patch subject: [PATCH v3 01/17] spi: axiado: Use helper function devm_clk_get_enabled()
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260318/202603182309.Rj2JxGYZ-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/20260318/202603182309.Rj2JxGYZ-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/202603182309.Rj2JxGYZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/spi/spi-axiado.c: In function 'ax_spi_remove':
>> drivers/spi/spi-axiado.c:865:24: warning: unused variable 'xspi' [-Wunused-variable]
865 | struct ax_spi *xspi = spi_controller_get_devdata(ctlr);
| ^~~~
vim +/xspi +865 drivers/spi/spi-axiado.c
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 853
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 854 /**
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 855 * ax_spi_remove - Remove method for the SPI driver
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 856 * @pdev: Pointer to the platform_device structure
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 857 *
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 858 * This function is called if a device is physically removed from the system or
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 859 * if the driver module is being unloaded. It frees all resources allocated to
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 860 * the device.
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 861 */
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 862 static void ax_spi_remove(struct platform_device *pdev)
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 863 {
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 864 struct spi_controller *ctlr = platform_get_drvdata(pdev);
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 @865 struct ax_spi *xspi = spi_controller_get_devdata(ctlr);
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 866
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 867 spi_unregister_controller(ctlr);
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 868
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 869 pm_runtime_set_suspended(&pdev->dev);
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 870 pm_runtime_disable(&pdev->dev);
e75a6b00ad7962a Vladimir Moravcevic 2026-01-07 871
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-03-18 15:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 7:41 [PATCH v3 00/17] cleanup in spi by use devm_clk_get_enabled Pei Xiao
2026-03-17 7:41 ` [PATCH v3 01/17] spi: axiado: Use helper function devm_clk_get_enabled() Pei Xiao
2026-03-17 13:19 ` Mark Brown
2026-03-18 15:05 ` kernel test robot [this message]
2026-03-17 7:41 ` [PATCH v3 02/17] spi: bcm63xx-hsspi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 03/17] spi: bcmbca-hsspi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 04/17] spi: img-spfi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 05/17] spi: imx: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 06/17] spi: npcm-pspi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 07/17] spi: orion: " Pei Xiao
2026-03-18 17:04 ` kernel test robot
2026-03-17 7:41 ` [PATCH v3 08/17] spi: rockchip-sfc: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 09/17] spi: sifive: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 10/17] spi: slave-mt27xx: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 11/17] spi: st: " Pei Xiao
2026-03-18 19:02 ` kernel test robot
2026-03-17 7:41 ` [PATCH v3 12/17] spi: stm32-qspi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 13/17] spi: stm32: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 14/17] spi: sunplus-sp7021: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 15/17] spi: uniphier: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 16/17] spi: zynq-qspi: " Pei Xiao
2026-03-17 7:41 ` [PATCH v3 17/17] spi: zynqmp-gqspi: " Pei Xiao
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=202603182309.Rj2JxGYZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=imx@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=openbmc@lists.ozlabs.org \
--cc=xiaopei01@kylinos.cn \
/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