aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/chips/chipreg.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2009-01-11 19:52:19 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-11 19:56:46 +0000
commit5f877607cdfe8b60bf96fb96e527e0ce2a21e68b (patch)
tree5e13766a4d7df3e7032b1b26e498099c04b06c16 /drivers/mtd/chips/chipreg.c
parent57c1a24ee276a33190008243f986419e122c0dea (diff)
[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/chips/chipreg.c')
0 files changed, 0 insertions, 0 deletions