Re: [PATCH] Pinctrl : berlin - Fix possible NULL derefrence.

2017-01-30 Thread Linus Walleij
On Fri, Jan 27, 2017 at 12:10 PM, Shailendra Verma wrote: > of_match_device could return NULL, and so can cause a NULL > pointer dereference later. > > Signed-off-by: Shailendra Verma Patch applied. Yours, Linus Walleij

[PATCH] Pinctrl : berlin - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
of_match_device could return NULL, and so can cause a NULL pointer dereference later. Signed-off-by: Shailendra Verma --- drivers/pinctrl/berlin/berlin-bg2.c |5 + drivers/pinctrl/berlin/berlin-bg2cd.c |5 + drivers/pinctrl/berlin/berlin-bg2q.c |5 + drivers/pinctrl/be