From: Vladimir Zapolskiy Date: Mon, 28 Oct 2013 16:08:15 +0000 (+0200) Subject: mtd: mtdchar: return expected errors on mmap() call X-Git-Tag: v3.13-rc1~98^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b99959323732ed0c81da2488252f64c02ad37fbe;p=pandora-kernel.git mtd: mtdchar: return expected errors on mmap() call According both to POSIX.1-2008 and Linux Programmer's Manual mmap() syscall shouldn't return undocumented ENOSYS, this change replaces the errno with more appropriate ENODEV and EACCESS. Signed-off-by: Vladimir Zapolskiy Cc: David Woodhouse Signed-off-by: Brian Norris --- Reading git-diff-tree failed