diff options
author | Aditya Pakki <[email protected]> | 2019-03-18 18:50:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-03-19 15:37:43 +0100 |
commit | 32f47179833b63de72427131169809065db6745e (patch) | |
tree | a2a6f25a0593d18c9fd74466533e48d9f6dc5027 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
of_match_device on failure to find a matching device can return a NULL
pointer. The patch checks for such a scenrio and passes the error upstream.
Signed-off-by: Aditya Pakki <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions