diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2019-03-19 02:24:34 +0300 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 11:21:07 +0300 |
| commit | 6f0ce4dfc5a35bcb21f26d5347f4797fdde52810 (patch) | |
| tree | 7eebacca341754bd163d7b235cd74ad793495153 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e84950691bf7aec716ae671a8b6e82322df6d54a (diff) | |
| download | linux-6f0ce4dfc5a35bcb21f26d5347f4797fdde52810.tar.xz | |
mtd: rawnand: vf610: Avoid a potential NULL pointer dereference
of_match_device can return NULL if there is no matching device. Avoid
a potential NULL pointer dereference by checking for the return value
and passing the error upstream.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
