From: Alan Cox Date: Sun, 11 Jan 2009 19:52:19 +0000 (+0000) Subject: [MTD] map_rom has NULL erase pointer X-Git-Tag: v2.6.29-rc7~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f877607cdfe8b60bf96fb96e527e0ce2a21e68b;p=pandora-kernel.git [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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed