Thread (8 messages) flat view 8 messages, 6 authors, 2006-09-13

Re: [Cbe-oss-dev] [PATCH] powerpc: allow PHBs anywhere in the device tree

From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-09-12 21:16:28

On Tuesday 12 September 2006 21:54, Olof Johansson wrote:
!strcasecmp(...) instead?
I do that normally for functions that return either a truth value
or a pointer to an object that may be NULL, whereas strcasecmp
returns a numerical value that I'm checking for a specific result.
This is also consistant with how it is used elsewhere in the file.
Do they ever exist in non-lowercase versions? Old code just did
strcmp().
I took that from device_is_compatible(), which also does
strncasecmp, so I assumed that was done for a reason.
quoted
+ *=A0=A0=A0@from:=A0=A0The node to start searching from or NULL, the n=
ode
quoted
+ *=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0you pass will not be searched, only=
 the next one
quoted
+ *=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0will; typically, you pass what the =
previous call
quoted
+ *=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0returned. of_node_put() will be cal=
led on it
=20
Convention seems to be to call this "prev", not "from"?
ok

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