mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 16:29:25 -04:00
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 <ewk@edkovsky.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
79d99c305f
commit
2a3b60d8ba
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user