flat: use IS_ERR_VALUE() helper macro
authorMike Frysinger <vapier@gentoo.org>
Wed, 23 Sep 2009 22:57:07 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:21:03 +0000 (07:21 -0700)
commit0b8c78f2bfa6ebed0f47794b5995a0d4b3fe456d
treeee8d1b3f8bd3cab2deebede1d1aa48609ea3d50a
parent8e8b63a68c7ec95ef23770813120f4f98c76e08b
flat: use IS_ERR_VALUE() helper macro

There is a common macro now for testing mixed pointer/errno values, so use
that rather than handling the casts ourself.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David McCullough <david_mccullough@securecomputing.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_flat.c