OSDN Git Service

staging: greybus: firmware: Change long long unsigned to unsigned long long
authorMichael Sartain <mikesart@fastmail.com>
Thu, 9 Mar 2017 16:58:05 +0000 (09:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 18:29:50 +0000 (19:29 +0100)
Fixes checkpatch warning:
  type 'long long unsigned int' should be specified
  in [[un]signed] [short|int|long|long long] order

Signed-off-by: Michael Sartain <mikesart@fastmail.com>
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/Documentation/firmware/authenticate.c

index ab0688a..b836f0a 100644 (file)
@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
                goto close_fd;
        }
 
-       printf("UID received: 0x%llx\n", *(long long unsigned int *)(uid.uid));
+       printf("UID received: 0x%llx\n", *(unsigned long long int *)(uid.uid));
 
        /* Get certificate */
        printf("Get IMS certificate\n");