summaryrefslogtreecommitdiff
path: root/mm/slub.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-16 01:48:32 +0300
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 11:50:42 +0000
commit0b4634fce1f3f7028421630260d54093276db490 (patch)
tree0925911860ea11673590846fffa55c1cd2d43fd7 /mm/slub.c
parent716bdf1874647196ac16dd2a1ad359d88844795a (diff)
downloadlinux-3.10-0b4634fce1f3f7028421630260d54093276db490.tar.gz
linux-3.10-0b4634fce1f3f7028421630260d54093276db490.tar.bz2
linux-3.10-0b4634fce1f3f7028421630260d54093276db490.zip
leds-gpio: fix possible crash on OF device unbinding
If there are leds present in the OF tree, but the GPIOs for (some) of them are unavailable, led_data doesn't get populated with correct devices. Then, on device unbinding, one can crash the kernel. Workaround this by setting led->gpio to invalid value early. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions