diff options
| author | Gustavo A. R. Silva <[email protected]> | 2019-01-22 10:56:36 -0600 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2019-02-07 10:42:47 +0000 |
| commit | ae7b8eda27b33b1f688dfdebe4d46f690a8f9162 (patch) | |
| tree | 7125e9cb83d8f1955c8dddb6165dced548ed5c5a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 09fdc98577120d4f47601c3127efde726a2300c6 (diff) | |
mfd: sm501: Fix potential NULL pointer dereference
There is a potential NULL pointer dereference in case devm_kzalloc()
fails and returns NULL.
Fix this by adding a NULL check on *lookup*
This bug was detected with the help of Coccinelle.
Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
Cc: [email protected]
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions