summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-03-18 18:24:34 -0500
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-08 10:21:07 +0200
commit6f0ce4dfc5a35bcb21f26d5347f4797fdde52810 (patch)
tree7eebacca341754bd163d7b235cd74ad793495153 /lib
parente84950691bf7aec716ae671a8b6e82322df6d54a (diff)
downloadlinux-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 'lib')
0 files changed, 0 insertions, 0 deletions