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

From: Uwe Kleine-König
Date: Tue Jan 05 2016 - 08:02:29 EST


On Tue, Jan 05, 2016 at 12:02:23PM +0200, Tero Roponen wrote:
>
> 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]

This is a separate bug however that is worth fixing, too. I guess this
is similar to the tpm problem my broken patch made obvious.

Best regards
Uwe


--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/