summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
diff options
context:
space:
mode:
authorChristoph Jaeger2014-03-28 00:21:07 +0100
committerGreg Kroah-Hartman2014-04-17 05:21:07 +0200
commitf9bd9c1a08f852cd6ba6102d15ad94db2d6b595f (patch)
treeea9dbae975cfdb406822b00eb2b3bfd2894cea7d /drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
parentdrivers:staging:lustre Fixed sparse warning: plain integer as NULL pointer (diff)
downloadkernel-qcow2-linux-f9bd9c1a08f852cd6ba6102d15ad94db2d6b595f.tar.gz
kernel-qcow2-linux-f9bd9c1a08f852cd6ba6102d15ad94db2d6b595f.tar.xz
kernel-qcow2-linux-f9bd9c1a08f852cd6ba6102d15ad94db2d6b595f.zip
staging: lustre: use __func__ instead of __FUNCTION__
__FUNCTION__ is gcc specific; use __func__ instead. Signed-off-by: Christoph Jaeger <email@christophjaeger.info> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
index 2bd4885ce06c..b270d84def98 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
@@ -183,7 +183,7 @@ struct libcfs_debug_msg_data {
do { \
(data)->msg_subsys = DEBUG_SUBSYSTEM; \
(data)->msg_file = __FILE__; \
- (data)->msg_fn = __FUNCTION__; \
+ (data)->msg_fn = __func__; \
(data)->msg_line = __LINE__; \
(data)->msg_cdls = (cdls); \
(data)->msg_mask = (mask); \
@@ -193,7 +193,7 @@ do { \
static struct libcfs_debug_msg_data dataname = { \
.msg_subsys = DEBUG_SUBSYSTEM, \
.msg_file = __FILE__, \
- .msg_fn = __FUNCTION__, \
+ .msg_fn = __func__, \
.msg_line = __LINE__, \
.msg_cdls = (cdls) }; \
dataname.msg_mask = (mask);