]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4a84079414e400bde908d53528d7205813f5c3d
treeee8d1b3f8bd3cab2deebede1d1aa48609ea3d50a
parentb873170f526fb6d5a17d04ad8783be1140aac320
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