Thread (4 messages) 4 messages, 3 authors, 2012-09-10

[powerpc:next 60/78] arch/powerpc/platforms/pseries/eeh_pe.c:217:23: error: 'eeh_pe_get' defined but not used

From: Fengguang Wu <hidden>
Date: 2012-09-10 02:34:49
Also in: kernel-janitors

Hi Gavin,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc.git next
head:   4715fed600109e0bd3d6cfa2b925a643173a08b4
commit: 22f4ab123f10e1862579785c73d9e60fa24afd4f [60/78] powerpc/eeh: Search PE based on requirement
config: powerpc-defconfig (attached as .config)

All related error/warning messages:

arch/powerpc/platforms/pseries/eeh_pe.c:217:23: error: 'eeh_pe_get' defined but not used [-Werror=unused-function]
arch/powerpc/platforms/pseries/eeh_pe.c:237:23: error: 'eeh_pe_get_parent' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors

vim +217 arch/powerpc/platforms/pseries/eeh_pe.c
   212	 * the associated PE has been created against the PE address. It's
   213	 * notable that the PE address has 2 format: traditional PE address
   214	 * which is composed of PCI bus/device/function number, or unified
   215	 * PE address.
   216	 */
 > 217	static struct eeh_pe *eeh_pe_get(struct eeh_dev *edev)
   218	{
   219		struct eeh_pe *root = eeh_phb_pe_get(edev->phb);
   220		struct eeh_pe *pe;
   221	
   222		eeh_lock();

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help