public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wentao Liang <vulab@iscas.ac.cn>,
	adrian.hunter@intel.com, vigneshr@ti.com, ulf.hansson@linaro.org
Cc: oe-kbuild-all@lists.linux.dev, linux-mmc@vger.kernel.org,
	linux-kernel@vger.kernel.org, Wentao Liang <vulab@iscas.ac.cn>,
	stable@vger.kernel.org
Subject: Re: [PATCH] mmc: sdhci-omap: Add error handling for sdhci_runtime_suspend_host()
Date: Tue, 20 May 2025 08:09:24 +0800	[thread overview]
Message-ID: <202505200727.1k4LfYCQ-lkp@intel.com> (raw)
In-Reply-To: <20250519125143.2331-1-vulab@iscas.ac.cn>

Hi Wentao,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.15-rc7 next-20250516]
[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/Wentao-Liang/mmc-sdhci-omap-Add-error-handling-for-sdhci_runtime_suspend_host/20250519-205341
base:   linus/master
patch link:    https://lore.kernel.org/r/20250519125143.2331-1-vulab%40iscas.ac.cn
patch subject: [PATCH] mmc: sdhci-omap: Add error handling for sdhci_runtime_suspend_host()
config: sparc-randconfig-001-20250520 (https://download.01.org/0day-ci/archive/20250520/202505200727.1k4LfYCQ-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250520/202505200727.1k4LfYCQ-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/202505200727.1k4LfYCQ-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/mmc/host/sdhci-omap.c: In function 'sdhci_omap_runtime_suspend':
>> drivers/mmc/host/sdhci-omap.c:1449:6: error: void value not ignored as it ought to be
     ret = sdhci_omap_context_save(omap_host);
         ^


vim +1449 drivers/mmc/host/sdhci-omap.c

  1435	
  1436	static int __maybe_unused sdhci_omap_runtime_suspend(struct device *dev)
  1437	{
  1438		struct sdhci_host *host = dev_get_drvdata(dev);
  1439		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
  1440		struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host);
  1441		int ret;
  1442	
  1443		if (host->tuning_mode != SDHCI_TUNING_MODE_3)
  1444			mmc_retune_needed(host->mmc);
  1445	
  1446		if (omap_host->con != -EINVAL)
  1447			sdhci_runtime_suspend_host(host);
  1448	
> 1449		ret = sdhci_omap_context_save(omap_host);
  1450		if (ret)
  1451			return ret;
  1452	
  1453		pinctrl_pm_select_idle_state(dev);
  1454	
  1455		return 0;
  1456	}
  1457	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2025-05-20  0:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19 12:51 [PATCH] mmc: sdhci-omap: Add error handling for sdhci_runtime_suspend_host() Wentao Liang
2025-05-20  0:09 ` 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=202505200727.1k4LfYCQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=adrian.hunter@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=vigneshr@ti.com \
    --cc=vulab@iscas.ac.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