diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-15 14:06:30 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-07-16 04:40:25 +0300 |
commit | dc01a28d80a42cef08c94dfc595565aaebe46d15 (patch) | |
tree | d40529045d5a1cfcc3301ef37bcb2016485894b1 /drivers/spi | |
parent | 161aaab8a067a96b686e2429a72bfd92f6aaf363 (diff) | |
download | linux-dc01a28d80a42cef08c94dfc595565aaebe46d15.tar.xz |
mtd: maps: sa1100-flash: potential NULL dereference
We check for NULL but then dereference "info->mtd" on the next line.
Fixes: 72169755cf36 ('mtd: maps: sa1100-flash: show parent device in sysfs')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions