diff options
author | Mike Marshall <hubcap@omnibond.com> | 2016-01-19 17:04:40 (GMT) |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-01-19 17:04:40 (GMT) |
commit | cf0c27715bd640628d39421f3d232c87d7e08954 (patch) | |
tree | a68dcd707a5d0674b72d25c4548bc27ea2430691 /fs | |
parent | 5e1f3938f9e4ef539031d639879cb1cea870fab5 (diff) | |
download | linux-cf0c27715bd640628d39421f3d232c87d7e08954.tar.xz |
Orangefs: make gossip statement more palatable to xtensa
Thanks to Intel's kbuild test robot
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/orangefs/devorangefs-req.c | 4 | ||||
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/orangefs/devorangefs-req.c b/fs/orangefs/devorangefs-req.c index 0f01d3e..5da5ef6 100644 --- a/fs/orangefs/devorangefs-req.c +++ b/fs/orangefs/devorangefs-req.c @@ -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; } diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index 1c87e0b..6dcc38a 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -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 */ |