diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-03-18 18:24:34 -0500 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 10:21:07 +0200 |
commit | 6f0ce4dfc5a35bcb21f26d5347f4797fdde52810 (patch) | |
tree | 7eebacca341754bd163d7b235cd74ad793495153 /scripts/extract-ikconfig | |
parent | e84950691bf7aec716ae671a8b6e82322df6d54a (diff) | |
download | linux-stable-6f0ce4dfc5a35bcb21f26d5347f4797fdde52810.tar.gz linux-stable-6f0ce4dfc5a35bcb21f26d5347f4797fdde52810.tar.bz2 linux-stable-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 'scripts/extract-ikconfig')
0 files changed, 0 insertions, 0 deletions