diff options
author | Aditya Pakki <[email protected]> | 2019-03-18 18:44:14 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-03-19 15:37:43 +0100 |
commit | 3a10e3dd52e80b9a97a3346020024d17b2c272d6 (patch) | |
tree | 0219be2339df1feabbba996e5438792afe5b77b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 32f47179833b63de72427131169809065db6745e (diff) |
serial: max310x: Fix to avoid potential NULL pointer dereference
of_match_device can return a NULL pointer when matching device is not
found. This patch avoids a scenario causing NULL pointer derefernce.
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