aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2011-02-20 20:07:24 +0200
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:07:18 -0400
commit6d97db590ca2787c202cf35e76f5d24b3007bc7c (patch)
treef94034daa9f0ae2969e3fabebd2601622f5eb9a5 /Documentation
parenteceb7bdf644b418175aab1c998137e692ac98a4c (diff)
downloadkernel_samsung_smdk4412-6d97db590ca2787c202cf35e76f5d24b3007bc7c.zip
kernel_samsung_smdk4412-6d97db590ca2787c202cf35e76f5d24b3007bc7c.tar.gz
kernel_samsung_smdk4412-6d97db590ca2787c202cf35e76f5d24b3007bc7c.tar.bz2
hp-wmi: clear rfkill device pointers when appropriate
NULLify rfkill pointers during initialization. This prevents dereference of invalid pointer in case the driver is rebound and some rfkill device isn't detected anymore. Clear them also in hp_wmi_rfkill_setup failure path so that an rfkill initialization failure doesn't need to be fatal for the whole driver. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions