Home
last modified time | relevance | path

Searched hist:b9995932 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdchar.cb9995932 Mon Oct 28 11:08:15 CDT 2013 Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> 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>
b9995932 Mon Oct 28 11:08:15 CDT 2013 Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> 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>