Re: [PATCH] pinctrl: baytrail: Fix potential NULL pointer dereference

2019-03-18 Thread Andy Shevchenko
On Tue, Mar 12, 2019 at 10:05:52AM -0500, Aditya Pakki wrote: > saved-context in byt_gpio_probe is allocated via devm_kcalloc and is > used without checking for NULL in later functions. This patch avoids > such a scenario. Pushed to my review and testing queue, thanks! > > Signed-off-by: Aditya

Re: [PATCH] pinctrl: baytrail: Fix potential NULL pointer dereference

2019-03-12 Thread Andy Shevchenko
On Tue, Mar 12, 2019 at 10:05:52AM -0500, Aditya Pakki wrote: > saved-context in byt_gpio_probe is allocated via devm_kcalloc and is > used without checking for NULL in later functions. This patch avoids > such a scenario. > Thanks. I take it to our branch after merge window will be finished. >

[PATCH] pinctrl: baytrail: Fix potential NULL pointer dereference

2019-03-12 Thread Aditya Pakki
saved-context in byt_gpio_probe is allocated via devm_kcalloc and is used without checking for NULL in later functions. This patch avoids such a scenario. Signed-off-by: Aditya Pakki --- drivers/pinctrl/intel/pinctrl-baytrail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git