[PATCH]: powerpc: pseries: Print PCI slot location code on failure

Paul Mackerras paulus at samba.org
Fri Jun 16 08:42:20 EST 2006


Linas Vepstas writes:

> Resending an older patch (from 28 April) that seems to have fallen
> through the cracks, its not in mailine, is not in -mm and its not
> controversial (its mostly a printk change). Tested.

I don't like doing printk on things that might be NULL (i.e. the
result of get_property).  Even though printk doesn't crash, it would
be nicer for the user to see "location=unknown" or something rather
than "location=<NULL>".

Paul.



More information about the Linuxppc-dev mailing list