diff options
author | 2019-03-18 18:24:34 -0500 | |
---|---|---|
committer | 2019-04-08 10:21:07 +0200 | |
commit | 6f0ce4dfc5a35bcb21f26d5347f4797fdde52810 (patch) | |
tree | 7eebacca341754bd163d7b235cd74ad793495153 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mtd: rawnand: ingenic: Move BBTs out of ECC area (diff) | |
download | linux-dev-6f0ce4dfc5a35bcb21f26d5347f4797fdde52810.tar.xz linux-dev-6f0ce4dfc5a35bcb21f26d5347f4797fdde52810.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions