Re: [PATCH] base/platform: Fix platform drivers with no probe callback (ex alarmtimer)

From: Tero Roponen
Date: Tue Jan 05 2016 - 05:02:35 EST



On Tue, 5 Jan 2016, Uwe Kleine-König wrote:

> Hello,
>
> I think this is the same problem that another Martin found and fixed in
>
> http://mid.gmane.org/1449132704-9952-1-git-send-email-martin.wilck@xxxxxxxxxxxxxx
>
> I didn't check, but thought Greg already picked that up?!

I can confirm that applying the patch in that link to 4.4-rc8 fixes the
following problem I've seen since 4.4-rc5:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000e20
IP: [<ffffffffa017835e>] asus_sysfs_is_visible+0xe/0x1d0 [asus_laptop]

So:

Tested-by: Tero Roponen <tero.roponen@xxxxxxxxx>