diff options
author | Alan Cox <alan@redhat.com> | 2009-01-11 19:52:19 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-11 19:56:46 (GMT) |
commit | 5f877607cdfe8b60bf96fb96e527e0ce2a21e68b (patch) | |
tree | 5e13766a4d7df3e7032b1b26e498099c04b06c16 /drivers/mtd/devices/ms02-nv.c | |
parent | 57c1a24ee276a33190008243f986419e122c0dea (diff) | |
download | linux-fsl-qoriq-5f877607cdfe8b60bf96fb96e527e0ce2a21e68b.tar.xz |
[MTD] map_rom has NULL erase pointer
Which means if inftl or similar are loaded with it (which is a dumb thing
to do admittedly) it may oops.
Closes #8108
[dwmw2: change error to -EROFS to match write-protected flash]
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices/ms02-nv.c')
0 files changed, 0 insertions, 0 deletions