aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-09-18 01:47:13 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-18 01:47:13 -0700
commitb9b64e6e89fc5a6ef220747115c5b7764614ca3f (patch)
tree2d28434f793807b4a83bd5dc139e165c7c317389 /arch/sparc64/kernel
parentMerge branch 'master' into upstream-fixes (diff)
downloadlinux-dev-b9b64e6e89fc5a6ef220747115c5b7764614ca3f.tar.xz
linux-dev-b9b64e6e89fc5a6ef220747115c5b7764614ca3f.zip
[OPENPROMIO]: Handle current_node being NULL correctly.
If the user tries to traverse to the next node of the last node, we get NULL in current_node and a zero phandle returned. That's fine, but if the user tries to obtain properties in that state, we try to dereference a NULL pointer in the downcall to the of_*() routines. So protect against that. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions