aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/Kconfig
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2011-04-02 19:00:44 +0900
committerMatthew Garrett <mjg@redhat.com>2011-04-04 12:51:13 -0400
commitfef34861381eefe266c822fc28bdedc897a8265f (patch)
tree01baebe9b5d24d33805553ad7d3d39996495e30e /drivers/platform/Kconfig
parenta0bcaee99df69b6d4d4dfd30bd40ac24b5ad3e22 (diff)
downloadkernel_samsung_smdk4412-fef34861381eefe266c822fc28bdedc897a8265f.zip
kernel_samsung_smdk4412-fef34861381eefe266c822fc28bdedc897a8265f.tar.gz
kernel_samsung_smdk4412-fef34861381eefe266c822fc28bdedc897a8265f.tar.bz2
sony-laptop: fix early NULL pointer dereference
The SNC acpi driver could get early notifications before it fully initializes and that could lead to dereferencing the sony_nc_handles structure pointer that is still NULL at that stage. Make sure we return early from the handle lookup function in these cases. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions