android_kernel_xiaomi_sm8350/drivers/sbus/char
David S. Miller b9b64e6e89 [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>
2006-09-18 01:47:13 -07:00
..
aurora.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
aurora.h
bbc_envctrl.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
bbc_i2c.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
bbc_i2c.h
bpp.c [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
cd180.h
cpwatchdog.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
display7seg.c [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
envctrl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
jsflash.c
Kconfig
Makefile
max1617.h
openprom.c [OPENPROMIO]: Handle current_node being NULL correctly. 2006-09-18 01:47:13 -07:00
riowatchdog.c [RIOWATCHDOG]: Fix the build. 2006-06-25 23:14:57 -07:00
rtc.c
uctrl.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
vfc_dev.c [PATCH] devfs: Remove devfs_remove() function from the kernel tree 2006-06-26 12:25:07 -07:00
vfc_i2c.c
vfc_i2c.h
vfc.h [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00