From 2a3b60d8ba4cdbed7fa9ed7ddb9d9fef664ca8f5 Mon Sep 17 00:00:00 2001 From: Eddie Kovsky Date: Mon, 8 Sep 2014 15:22:58 -0600 Subject: [PATCH] staging: clean up checkpatch warnings in lustre Silence checkpatch warning: WARNING: type 'long long unsigned' should be specified in [[un]signed] [short|int|long|long long] order Signed-off-by: Eddie Kovsky Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lustre/fid/lproc_fid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/fid/lproc_fid.c b/drivers/staging/lustre/lustre/fid/lproc_fid.c index c9fa67617dfa..6a21f078fefa 100644 --- a/drivers/staging/lustre/lustre/fid/lproc_fid.c +++ b/drivers/staging/lustre/lustre/fid/lproc_fid.c @@ -83,8 +83,8 @@ static int lprocfs_fid_write_common(const char __user *buffer, size_t count, /* of the form "[0x0000000240000400 - 0x000000028000400]" */ rc = sscanf(kernbuf, "[%llx - %llx]\n", - (long long unsigned *)&tmp.lsr_start, - (long long unsigned *)&tmp.lsr_end); + (unsigned long long *)&tmp.lsr_start, + (unsigned long long *)&tmp.lsr_end); if (!range_is_sane(&tmp) || range_is_zero(&tmp) || tmp.lsr_start < range->lsr_start || tmp.lsr_end > range->lsr_end) return -EINVAL; -- 2.20.1