commit | 5f877607cdfe8b60bf96fb96e527e0ce2a21e68b | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Sun Jan 11 19:52:19 2009 +0000 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sun Jan 11 19:56:46 2009 +0000 |
tree | 5e13766a4d7df3e7032b1b26e498099c04b06c16 | |
parent | 57c1a24ee276a33190008243f986419e122c0dea [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>