Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f751f841 authored by Linas Vepstas's avatar Linas Vepstas Committed by Paul Mackerras
Browse files

[PATCH] powerpc: remove bogus printk



233-eeh-buid-fix.patch

Remove un-desired warning print from EEH code.

Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
(cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit)
parent 25e591f6
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -824,12 +824,10 @@ void eeh_add_device_early(struct device_node *dn)
	if (!dn || !PCI_DN(dn))
		return;
	phb = PCI_DN(dn)->phb;
	if (NULL == phb || 0 == phb->buid) {
		printk(KERN_WARNING "EEH: Expected buid but found none for %s\n",
		       dn->full_name);
		dump_stack();

	/* USB Bus children of PCI devices will not have BUID's */
	if (NULL == phb || 0 == phb->buid)
		return;
	}

	info.buid_hi = BUID_HI(phb->buid);
	info.buid_lo = BUID_LO(phb->buid);