]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: clean up checkpatch warnings in lustre
authorEddie Kovsky <ewk@edkovsky.org>
Mon, 8 Sep 2014 21:22:58 +0000 (15:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:22:52 +0000 (15:22 -0700)
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>
drivers/staging/lustre/lustre/fid/lproc_fid.c

index c9fa67617dfa3b2f95c4a8b101e420aee333a49a..6a21f078fefa310491ece705544e31d784cd8867 100644 (file)
@@ -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;