X86 platform drivers
 help / color / mirror / Atom feed
* Re: drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref
@ 2012-05-22  2:47 Ben Hutchings
  2012-06-11 20:36 ` Jesper Juhl
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Hutchings @ 2012-05-22  2:47 UTC (permalink / raw)
  To: Jesper Juhl; +Cc: platform-driver-x86

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

I don't understand this change:

commit 41603e9783a24c8c7cce548c0819bdc9e46a585b
Author: Jesper Juhl <jj@chaosbits.net>
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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-11 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22  2:47 drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref Ben Hutchings
2012-06-11 20:36 ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox