From: David Woodhouse Date: Fri, 1 Jun 2007 18:21:59 +0000 (+0100) Subject: [MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions X-Git-Tag: v2.6.22-rc4~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=718ea8361b15aec5f4cb559d63ba34bc5a58d8f9;p=pandora-kernel.git [MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions It returns ERR_PTR(foo) on error, not just NULL. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed