Orangefs: make gossip statement more palatable to xtensa
Thanks to Intel's kbuild test robot Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
Родитель
5e1f3938f9
Коммит
cf0c27715b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче