[RESEND] [PATCH 1/2 v2] [OF] Add of_device_is_available function

Sean MacLennan smaclennan at pikatech.com
Tue Mar 25 15:47:53 EST 2008


On Mon, 24 Mar 2008 22:39:18 +1100
"Paul Mackerras" <paulus at samba.org> wrote:

> The second test will succeed for anything that starts with "ok", so
> the first test is redundant.  I suspect you want strcmp instead of
> strncmp in both tests.

I like the strncmp(status, "ok", 2). Then you can have a status of
okey-dokey ;)

Cheers,
   Sean



More information about the Linuxppc-dev mailing list