]> git.baikalelectronics.ru Git - kernel.git/commit
err.h: use bool for IS_ERR and IS_ERR_OR_NULL
authorJoe Perches <joe@perches.com>
Thu, 3 Apr 2014 21:48:31 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:06 +0000 (16:21 -0700)
commitf20f5b26207aeb7312650e028381ed2f4322037d
tree49563f9cce54bd9a6f25aab4f4595feb4c92625b
parent23adcee0c5093ffc364b24cd13a73fcad5179180
err.h: use bool for IS_ERR and IS_ERR_OR_NULL

Use the more natural return of bool for these tests.

No difference observed in .o files produced by gcc for x86.

Remove the dentry description of kernel pointers left over from the 90's
and 2002's cleanup move of parts of fs.h to err.h.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/err.h