summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 20:06:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 20:25:57 -0700
commitb0f5aad587ea1fc3563d056609ee54a961ee1256 (patch)
treef0a550dae77dcf8b11e69f362ad1ed92fe3555ad /drivers/staging/lustre/include
parentf537dd2c3c59f47fab8e21d639a28228d8201d43 (diff)
staging: lustre: remove LPU64 define
Just use the proper modifier type... Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/linux/kp30.h1
-rw-r--r--drivers/staging/lustre/include/linux/lnet/ptllnd.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/kp30.h b/drivers/staging/lustre/include/linux/libcfs/linux/kp30.h
index 0b54e562f8ba..ea22ca783759 100644
--- a/drivers/staging/lustre/include/linux/libcfs/linux/kp30.h
+++ b/drivers/staging/lustre/include/linux/libcfs/linux/kp30.h
@@ -70,7 +70,6 @@
/* this is a bit chunky */
-# define LPU64 "%llu"
# define LPX64 "%#llx"
#endif
diff --git a/drivers/staging/lustre/include/linux/lnet/ptllnd.h b/drivers/staging/lustre/include/linux/lnet/ptllnd.h
index b5d9383b2697..c91d65329995 100644
--- a/drivers/staging/lustre/include/linux/lnet/ptllnd.h
+++ b/drivers/staging/lustre/include/linux/lnet/ptllnd.h
@@ -49,7 +49,7 @@
#ifdef _USING_LUSTRE_PORTALS_
/* NIDs are 64-bits on Lustre Portals */
-#define FMT_NID LPU64
+#define FMT_NID "%llu"
#define FMT_PID "%d"
/* When using Lustre Portals Lustre completion semantics are imlicit*/