commit | d6cb77228e3ae070061195a6fff6ba7c3c0b8e47 | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Tue Mar 12 10:05:52 2019 -0500 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Mar 18 12:43:23 2019 +0300 |
tree | 27d0cb8245f91afe0c1a6debce5a41ea3e22c0c3 | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b [diff] |
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: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>