public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Shawn Lin <shawn.lin@rock-chips.com>, Ulf Hansson <ulfh@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Shawn Lin <shawn.lin@rock-chips.com>
Subject: Re: [PATCH] mmc: core: Switch to use pm_ptr() for bus.c
Date: Thu, 30 Apr 2026 08:59:54 +0800	[thread overview]
Message-ID: <202604300815.ATCbIpPU-lkp@intel.com> (raw)
In-Reply-To: <1776739053-120472-1-git-send-email-shawn.lin@rock-chips.com>

Hi Shawn,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on ulf-hansson-mmc-mirror/next v7.1-rc1 next-20260429]
[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/Shawn-Lin/mmc-core-Switch-to-use-pm_ptr-for-bus-c/20260424-085747
base:   linus/master
patch link:    https://lore.kernel.org/r/1776739053-120472-1-git-send-email-shawn.lin%40rock-chips.com
patch subject: [PATCH] mmc: core: Switch to use pm_ptr() for bus.c
config: arm64-randconfig-004-20260430 (https://download.01.org/0day-ci/archive/20260430/202604300815.ATCbIpPU-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604300815.ATCbIpPU-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/202604300815.ATCbIpPU-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/mmc/core/bus.c:169:26: error: called object type 'void *' is not a function or function pointer
     169 |         ret = pm_generic_suspend(dev);
         |               ~~~~~~~~~~~~~~~~~~^
   drivers/mmc/core/bus.c:175:20: error: called object type 'void *' is not a function or function pointer
     175 |                 pm_generic_resume(dev);
         |                 ~~~~~~~~~~~~~~~~~^
   drivers/mmc/core/bus.c:191:25: error: called object type 'void *' is not a function or function pointer
     191 |         ret = pm_generic_resume(dev);
         |               ~~~~~~~~~~~~~~~~~^
   3 errors generated.


vim +169 drivers/mmc/core/bus.c

7628774851751e Ulf Hansson     2013-06-10  162  
32d317c60e56c2 Chuanxiao Dong  2012-04-11  163  static int mmc_bus_suspend(struct device *dev)
4101c16a910b15 Pierre Ossman   2007-05-19  164  {
265cdc900ce93c Andy Shevchenko 2010-09-17  165  	struct mmc_card *card = mmc_dev_to_card(dev);
986892ca78eedd Ulf Hansson     2013-06-10  166  	struct mmc_host *host = card->host;
986892ca78eedd Ulf Hansson     2013-06-10  167  	int ret;
4101c16a910b15 Pierre Ossman   2007-05-19  168  
0967edc6ef5c3c Ulf Hansson     2014-10-06 @169  	ret = pm_generic_suspend(dev);
986892ca78eedd Ulf Hansson     2013-06-10  170  	if (ret)
986892ca78eedd Ulf Hansson     2013-06-10  171  		return ret;
986892ca78eedd Ulf Hansson     2013-06-10  172  
986892ca78eedd Ulf Hansson     2013-06-10  173  	ret = host->bus_ops->suspend(host);
ebe7dd45cf49e3 Adrian Hunter   2017-11-21  174  	if (ret)
ebe7dd45cf49e3 Adrian Hunter   2017-11-21  175  		pm_generic_resume(dev);
ebe7dd45cf49e3 Adrian Hunter   2017-11-21  176  
4101c16a910b15 Pierre Ossman   2007-05-19  177  	return ret;
4101c16a910b15 Pierre Ossman   2007-05-19  178  }
4101c16a910b15 Pierre Ossman   2007-05-19  179  

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

      reply	other threads:[~2026-04-30  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21  2:37 [PATCH] mmc: core: Switch to use pm_ptr() for bus.c Shawn Lin
2026-04-30  0:59 ` 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=202604300815.ATCbIpPU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=shawn.lin@rock-chips.com \
    --cc=ulfh@kernel.org \
    /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