The patch titled driver/misc/fsa9480.c fix potential null-pointer dereference has been added to the -mm tree. Its filename is driver-misc-fsa9480c-fix-potential-null-pointer-dereference.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: driver/misc/fsa9480.c fix potential null-pointer dereference From: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> Signed-off-by: Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> Cc: Donggeun Kim <dg77.kim@xxxxxxxxxxx> Cc: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/misc/fsa9480.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/misc/fsa9480.c~driver-misc-fsa9480c-fix-potential-null-pointer-dereference drivers/misc/fsa9480.c --- a/drivers/misc/fsa9480.c~driver-misc-fsa9480c-fix-potential-null-pointer-dereference +++ a/drivers/misc/fsa9480.c @@ -400,7 +400,8 @@ static int fsa9480_irq_init(struct fsa94 return ret; } - device_init_wakeup(&client->dev, pdata->wakeup); + if (pdata) + device_init_wakeup(&client->dev, pdata->wakeup); } return 0; _ Patches currently in -mm which might be from jhbird.choi@xxxxxxxxxxx are linux-next.patch mm-memblock-small-function-definition-fixes.patch driver-misc-fsa9480c-fix-potential-null-pointer-dereference.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html