From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DFB2103E195 for ; Wed, 18 Mar 2026 15:06:26 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fbXGM3pLXz2ykX; Thu, 19 Mar 2026 02:06:19 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=198.175.65.20 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773846379; cv=none; b=AQZerBwx5s/OmV0tm1wFrXXLce7pFY0mh7L/yp4FwqhMKJhV2lU6+0WmUOge+hMURLsO/G561OMHhqvlnKvPMpMGVitCm+GiOf/jJPVPPU8XbCGawIguihGEnjckgQUYSnmjELH/9+jPcuRLIV8GRUOPELdTR1bpeyWzJBW77HfBTf+XXmE3Hfw1yozF4Lj0pbSW/dN2MnXlNfEsPY+ZiB+OJtGuxXSCLFcV1eCgHAxhe0zt92hxIzu3B3AvKkvmL/9SZ9Xp38yyqATVXTsfdWLaTowRBzDnxypwyd2jLOGC9jkm+e16yZKEbriEFgQkCgv8lC4ogiCiuEvcka6deA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773846379; c=relaxed/relaxed; bh=T0CvuPfD7COIo+8HMLflUkIZ3jbTrFEH+1E4Pt2c8nQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hWpCqCvMxEA7M+5SIO0MvoY4aTA0Ki8URyWa4pJHu1xfVKJt5hkFP2Juy49pCHsCsC0FqCYW+Q10getZdXiwj4zkpAz8QiTARlsTtJS06qYvm8+pxuwlNCUpiVCtrZxl9h+sQYC53TRCUV48hD3Hr4iD+IVSdZjtVj/1lYyrCtlyLEcCUYFPIapu+tKa/Ygs8tNxWUJNYVGQNlw0IG8o2jWQY23MTUz8+YujDmSxkayqZJS/8WjOoICwY0RmL3ryZ0csWHKxSxljHSdCVyLD0/hEMSDX/zrUqV0tb0SIjho6PkwIgJZuo7cgA++E0P0J3FIpnHjL5QouWVgM4j0pZw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=intel.com; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=aBe0Pret; dkim-atps=neutral; spf=pass (client-ip=198.175.65.20; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) smtp.mailfrom=intel.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=aBe0Pret; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=198.175.65.20; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver=lists.ozlabs.org) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fbXGJ6RX6z2yTH for ; Thu, 19 Mar 2026 02:06:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773846377; x=1805382377; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4mKNZGsMnx96h+U53BOOHWYmauvrjAENdqFmFNmU85o=; b=aBe0PretsPGRvorqpWBDNafzGJZIdxfzS0BJwVcHW5NzFWZ1scnUegbV a3nLdWB7WIkEzHuMPalPWPVadAPHCB7X+SzPvSbxP70RMqqSz7rryMCCh Ir7XyOs9k9scHq42WD4+67yLIFTi5M7ZApq1OsYl8PCbWOE5EoTJ1K7JL W/8ZuJXbIFh/c8HMgzzQ/nIcZjK63YDLB/ljEgKuT9MDyr2AD5zval2Nl 0LxrWMX18lk+ZqeuwuFawBzlDzimfFRy9lAQj8De9Ma4OVl0DbJBcoXQ+ wHteYvzEoVJeJy5KUqm4R+ocuJ4+jJxIgDVfEoxAK7L2JcoIi1YkowTwv Q==; X-CSE-ConnectionGUID: SJRXdjHASSOWGSgZOyMerQ== X-CSE-MsgGUID: uM8vCtHCTQmW+URQnCz4Rg== X-IronPort-AV: E=McAfee;i="6800,10657,11733"; a="74601750" X-IronPort-AV: E=Sophos;i="6.23,127,1770624000"; d="scan'208";a="74601750" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2026 08:06:08 -0700 X-CSE-ConnectionGUID: 45FZNnEETzigI3hiwWOn+w== X-CSE-MsgGUID: 9Lplwp4OTDGMa1328tMtMg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,127,1770624000"; d="scan'208";a="227341270" Received: from lkp-server01.sh.intel.com (HELO 63737dd503cb) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 18 Mar 2026 08:06:04 -0700 Received: from kbuild by 63737dd503cb with local (Exim 4.98.2) (envelope-from ) id 1w2sTC-0000000031t-0fMK; Wed, 18 Mar 2026 15:06:02 +0000 Date: Wed, 18 Mar 2026 23:05:24 +0800 From: kernel test robot To: Pei Xiao , 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 Subject: Re: [PATCH v3 01/17] spi: axiado: Use helper function devm_clk_get_enabled() Message-ID: <202603182309.Rj2JxGYZ-lkp@intel.com> References: X-Mailing-List: openbmc@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 | 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