summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>2013-10-28 16:08:15 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2013-11-11 19:18:15 (GMT)
commitb99959323732ed0c81da2488252f64c02ad37fbe (patch)
tree87052576102b76978079a176af3c582bff072b3d /samples
parent80bd33acdaa21fafa8ff4391ccdf879d227111bb (diff)
downloadlinux-fsl-qoriq-b99959323732ed0c81da2488252f64c02ad37fbe.tar.xz
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 <vladimir_zapolskiy@mentor.com> Cc: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions