Re: drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't understand this change:

commit 41603e9783a24c8c7cce548c0819bdc9e46a585b
Author: Jesper Juhl <jj@xxxxxxxxxxxxx>
Date:   Fri Mar 23 01:08:34 2012 +0100

    drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref

amilo_rfkill_init() checks that dmi_first_match() does not return NULL,
before registering the platform driver.  So why would it return NULL
when called by amilo_rfkill_probe()?

Ben.

-- 
Ben Hutchings
You can't have everything.  Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux