lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202501081121.TPz5Sn81-lkp@intel.com>
Date: Wed, 8 Jan 2025 11:13:48 +0800
From: kernel test robot <lkp@...el.com>
To: Oliver O'Halloran <oohall@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Michael Ellerman <mpe@...erman.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

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@...el.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@...as.org>
:::::: CC: Paul Mackerras <paulus@...ba.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ