aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/linux/obd.h
diff options
context:
space:
mode:
authorChristoph Jaeger <email@christophjaeger.info>2014-03-28 00:21:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-16 20:21:07 -0700
commitf9bd9c1a08f852cd6ba6102d15ad94db2d6b595f (patch)
treeea9dbae975cfdb406822b00eb2b3bfd2894cea7d /drivers/staging/lustre/lustre/include/linux/obd.h
parentdrivers:staging:lustre Fixed sparse warning: plain integer as NULL pointer (diff)
downloadlinux-dev-f9bd9c1a08f852cd6ba6102d15ad94db2d6b595f.tar.xz
linux-dev-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/lustre/include/linux/obd.h')
-rw-r--r--drivers/staging/lustre/lustre/include/linux/obd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/include/linux/obd.h b/drivers/staging/lustre/lustre/include/linux/obd.h
index dc36f75eb635..fea7e6cd44c3 100644
--- a/drivers/staging/lustre/lustre/include/linux/obd.h
+++ b/drivers/staging/lustre/lustre/include/linux/obd.h
@@ -104,7 +104,7 @@ static inline void __client_obd_list_lock(client_obd_lock_t *lock,
}
#define client_obd_list_lock(lock) \
- __client_obd_list_lock(lock, __FUNCTION__, __LINE__)
+ __client_obd_list_lock(lock, __func__, __LINE__)
static inline void client_obd_list_unlock(client_obd_lock_t *lock)
{