staging/lustre: use __noreturn for lbug_with_loc
authorJuston Li <juston.h.li@gmail.com>
Thu, 17 Sep 2015 02:51:56 +0000 (19:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 04:25:25 +0000 (21:25 -0700)
commit2877f245cf13d4cc6be4dab149d3d2f239ce8cd6
tree455613879495371119f1afdbcf1e4960e7157f64
parent59cfb96fcdcc53ead9ca2ef766e6bd91a09615eb
staging/lustre: use __noreturn for lbug_with_loc

fixes sparse error:
drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c:149:6: error:
symbol 'lbug_with_loc'redeclared with different type (originally declared at
drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_private.h:82)
- different modifiers

Use the __noreturn macro instead of __attribute__((noreturn))
The macro is exactly that but its usage seems more common and
it is bit more readable.

Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c