Messages in this thread | | | Date | Tue, 22 Jan 2013 17:30:48 -0600 | Subject | Re: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL 3.x.x OOPS! | From | Kent Yoder <> |
| |
On Wed, Jan 9, 2013 at 1:41 PM, Peter Hüwe <PeterHuewe@gmx.de> wrote: > In my opinion a driver should never ever oops, even if the user does something > stupid (e.g. like probing from userspace ;)
Exactly... I've coded up a fix for the oops and staged it here, please test:
https://github.com/shpedoikal/linux.git tpmdd-01-22-13
Thanks, Kent
> The fix is as simple as adding a simple > if (!platform_data) return -ENODEV; > or something similar. > > Thanks, > Peter > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |