public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Oliver O'Halloran <oohall@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Michael Ellerman <mpe@ellerman.id.au>
Subject: arch/powerpc/kernel/eeh_event.c:125: warning: expecting prototype for eeh_send_failure_event(). Prototype was for __eeh_send_failure_event() instead
Date: Wed, 8 Jan 2025 11:13:48 +0800	[thread overview]
Message-ID: <202501081121.TPz5Sn81-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   09a0fa92e5b45e99cf435b2fbf5ebcf889cf8780
commit: 954bd99435b8ba99e86665d6a2ec1baa1d128325 powerpc/eeh: Add eeh_force_recover to debugfs
date:   6 years ago
config: powerpc64-randconfig-002-20231105 (https://download.01.org/0day-ci/archive/20250108/202501081121.TPz5Sn81-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250108/202501081121.TPz5Sn81-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/202501081121.TPz5Sn81-lkp@intel.com/

All warnings (new ones prefixed by >>):

   arch/powerpc/kernel/eeh_event.c:52: warning: Function parameter or struct member 'dummy' not described in 'eeh_event_handler'
>> arch/powerpc/kernel/eeh_event.c:125: warning: expecting prototype for eeh_send_failure_event(). Prototype was for __eeh_send_failure_event() instead


vim +125 arch/powerpc/kernel/eeh_event.c

172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  115  
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  116  /**
29f8bf1b7f79f6 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-02-27  117   * eeh_send_failure_event - Generate a PCI error event
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  118   * @pe: EEH PE
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  119   *
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  120   * This routine can be called within an interrupt context;
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  121   * the actual event will be delivered in a normal context
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  122   * (from a workqueue).
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  123   */
954bd99435b8ba arch/powerpc/kernel/eeh_event.c            Oliver O'Halloran 2019-02-15  124  int __eeh_send_failure_event(struct eeh_pe *pe)
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03 @125  {
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  126  	unsigned long flags;
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  127  	struct eeh_event *event;
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  128  
7e4bbaf0bf13c3 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  129  	event = kzalloc(sizeof(*event), GFP_ATOMIC);
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  130  	if (!event) {
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  131  		pr_err("EEH: out of memory, event not handled\n");
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  132  		return -ENOMEM;
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  133  	}
c533b46cc7da58 arch/powerpc/platforms/pseries/eeh_event.c Gavin Shan        2012-09-07  134  	event->pe = pe;
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  135  
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  136  	/* We may or may not be called in an interrupt context */
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  137  	spin_lock_irqsave(&eeh_eventlist_lock, flags);
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  138  	list_add(&event->list, &eeh_eventlist);
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  139  	spin_unlock_irqrestore(&eeh_eventlist_lock, flags);
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  140  
c86085580d5f60 arch/powerpc/kernel/eeh_event.c            Gavin Shan        2013-06-20  141  	/* For EEH deamon to knick in */
2fea82db113e44 arch/powerpc/kernel/eeh_event.c            Arnd Bergmann     2018-12-10  142  	complete(&eeh_eventlist_event);
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  143  
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  144  	return 0;
172ca9261800ba arch/powerpc/platforms/pseries/eeh_event.c Linas Vepstas     2005-11-03  145  }
99866595340fa2 arch/powerpc/kernel/eeh_event.c            Gavin Shan        2013-06-20  146  

:::::: The code at line 125 was first introduced by commit
:::::: 172ca9261800bacbbc7d320d9924d9b482dff8de [PATCH] ppc64: PCI error event dispatcher

:::::: TO: Linas Vepstas <linas@linas.org>
:::::: CC: Paul Mackerras <paulus@samba.org>

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

             reply	other threads:[~2025-01-08  3:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08  3:13 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22 11:08 arch/powerpc/kernel/eeh_event.c:125: warning: expecting prototype for eeh_send_failure_event(). Prototype was for __eeh_send_failure_event() instead kernel test robot

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=202501081121.TPz5Sn81-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oohall@gmail.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