Orangefs: make gossip statement more palatable to xtensa
authorMike Marshall <hubcap@omnibond.com>
Tue, 19 Jan 2016 17:04:40 +0000 (12:04 -0500)
committerMike Marshall <hubcap@omnibond.com>
Tue, 19 Jan 2016 17:04:40 +0000 (12:04 -0500)
Thanks to Intel's kbuild test robot

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/devorangefs-req.c
fs/orangefs/orangefs-kernel.h

index 0f01d3edfc2b1222d48f84f89d4ca52840e00764..5da5ef616b85c8c34f4e676c1d5db4e3ed63d00b 100644 (file)
@@ -275,10 +275,10 @@ static ssize_t orangefs_devreq_write_iter(struct kiocb *iocb,
                     ret);
 
         if (total < MAX_DEV_REQ_DOWNSIZE) {
-               gossip_err("%s: total:%d: must be at least:%lu:\n",
+               gossip_err("%s: total:%d: must be at least:%u:\n",
                           __func__,
                           total,
-                          MAX_DEV_REQ_DOWNSIZE);
+                          (unsigned int) MAX_DEV_REQ_DOWNSIZE);
                ret = -EFAULT;
                goto out;
        }
index 1c87e0bbdfe825979e7e6445b025f38b41af54a6..6dcc38a5f1177b8bdca5423c0c3153da30c26b06 100644 (file)
@@ -75,9 +75,9 @@
 #define ORANGEFS_MAX_MOUNT_OPT_LEN        0x00000080
 #define ORANGEFS_MAX_FSKEY_LEN            64
 
-#define MAX_DEV_REQ_UPSIZE (2*sizeof(__s32) +   \
+#define MAX_DEV_REQ_UPSIZE (2 * sizeof(__s32) +   \
 sizeof(__u64) + sizeof(struct orangefs_upcall_s))
-#define MAX_DEV_REQ_DOWNSIZE (2*sizeof(__s32) + \
+#define MAX_DEV_REQ_DOWNSIZE (2 * sizeof(__s32) + \
 sizeof(__u64) + sizeof(struct orangefs_downcall_s))
 
 /* borrowed from irda.h */