Just use the proper string for the variable type.
Also remove some variable types that are not used at all (LPO64 and
LPPID)
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
# define LPD64 "%lld"
# define LPX64 "%#llx"
# define LPX64i "%llx"
-# define LPO64 "%#llo"
-# define LPF64 "L"
/*
* long_ptr_t & ulong_ptr_t, same to "long" for gcc
# define LPLD "%ld"
# define LPLX "%#lx"
-/*
- * pid_t
- */
-# define LPPID "%d"
-
#endif
return rc;
}
- CDEBUG(D_INFO, "%s: allocate sequence [0x%16.16"LPF64"x]\n",
+ CDEBUG(D_INFO, "%s: allocate sequence [0x%16.16Lx]\n",
seq->lcs_name, *seqnr);
/* Since the caller require the whole seq,
return rc;
}
- CDEBUG(D_INFO, "%s: Switch to sequence [0x%16.16"LPF64"x]\n",
+ CDEBUG(D_INFO, "%s: Switch to sequence [0x%16.16Lx]\n",
seq->lcs_name, seqnr);
seq->lcs_fid.f_oid = LUSTRE_FID_INIT_OID;
r1->lsr_flags != r2->lsr_flags;
}
-#define DRANGE "[%#16.16"LPF64"x-%#16.16"LPF64"x):%x:%s"
+#define DRANGE "[%#16.16Lx-%#16.16Lx):%x:%s"
#define PRANGE(range) \
(range)->lsr_start, \