Skip to content
Commit d6cb7722 authored by Aditya Pakki's avatar Aditya Pakki Committed by Andy Shevchenko
Browse files

pinctrl: baytrail: Fix potential NULL pointer dereference



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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 9e98c678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment