commit | 71811f3271cd986e223be44830e5961056561ac3 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <mail@rasmusvillemoes.dk> | Wed Jun 05 17:09:39 2013 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 12:54:08 2013 -0700 |
tree | 3056f805a67870d36c19a361cf805b44d33aae3e | |
parent | 29ddae2a40883640941932f73eb3d15535c3f4a2 [diff] |
drivers: char: mem: use IS_ERR_VALUE() in memory_lseek() Use IS_ERR_VALUE() instead of comparing the new offset to a hard-coded value of -MAX_ERRNO (which is also off-by-one due to the use of ~ instead of -). Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>