Home
last modified time | relevance | path

Searched hist:"847 f5976f90d5637a86a826c1c594091d08f3156" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dprom.cdiff 847f5976f90d5637a86a826c1c594091d08f3156 Wed May 16 01:57:24 CDT 2007 Benjamin Herrenschmidt <benh@kernel.crashing.org> [POWERPC] Make sure device node type/name is not NULL on hot-added nodes

Our device-tree unflattening code makes sure the name and type fields
of a device-node are not NULL. However, the code for dynamically
adding devices nodes which is used for pSeries hotplug for example
didn't do it, potentially causing crashes in some code that assume it
can always do things like strcmp on those.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>