diff options
| author | Aditya Pakki <[email protected]> | 2019-03-18 18:24:34 -0500 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2019-04-08 10:21:07 +0200 |
| commit | 6f0ce4dfc5a35bcb21f26d5347f4797fdde52810 (patch) | |
| tree | 7eebacca341754bd163d7b235cd74ad793495153 /scripts | |
| parent | e84950691bf7aec716ae671a8b6e82322df6d54a (diff) | |
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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions