diff options
author | Todd Poynor <tpoynor@mvista.com> | 2005-08-04 03:05:51 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-08-04 12:52:40 +0200 |
commit | 8b491d750885ebe8e7d385ce4186c85957d67123 (patch) | |
tree | 18c7eb52bfc8821eaf08430fdaa5ce70078f2200 /drivers/base/power/main.c | |
parent | [MTD] Pre-CFI Sharp chip driver: Some speedups and cleanups (diff) | |
download | linux-8b491d750885ebe8e7d385ce4186c85957d67123.tar.xz linux-8b491d750885ebe8e7d385ce4186c85957d67123.zip |
[MTD] mtdchar: Return EINVAL for bad seeks instead of fixing up to valid byte
mtdchar return -EINVAL for seek prior to offset 0 or to beyond the last
byte in the device/partition, similar to various other seek methods,
instead of fixing up to first or last byte.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/base/power/main.c')
0 files changed, 0 insertions, 0 deletions