staging: greybus: Prefer 'unsigned long long' over 'unsigned long long int'
A message that is not in the archive (sent off-list or not yet received): 20260305-greybus-unsigned-long-long-v1-1-e912b6023fcd.ref@yahoo.pl
PATCH 1/1 staging: greybus: Prefer 'unsigned long long' over 'unsigned long long int'
Remove redundant 'int' keyword from 'unsigned long long int' type cast. 'unsigned long long' and 'unsigned long long int' are identical types in C. Prefer the shorter form as suggested by checkpatch.pl --strict.
--- drivers/staging/greybus/Documentation/firmware/authenticate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/Documentation/firmware/authenticate.c +1 -1
@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) goto close_fd; } -printf ("UID received: 0x%llx\n" , *(unsigned long long int *)(uid.uid)); +printf ("UID received: 0x%llx\n" , *(unsigned long long *)(uid.uid));/* Get certificate */ printf ("Get IMS certificate\n" );
---
base-commit: 6ae79e7736ee6a5f920867e5346d8a106cd1db74
change-id: 20260305-greybus-unsigned-long-long-e7465302d3fa
Best regards,
Signature · 1 line
Tomasz Unger <[email protected]>
Greg Kroah-Hartman
maintainerQuoted 27 lines · Tomasz Unger
Remove redundant 'int' keyword from 'unsigned long long int' type cast. 'unsigned long long' and 'unsigned long long int' are identical types in C. Prefer the shorter form as suggested by checkpatch.pl --strict.
Signed-off-by Tomasz Unger <[email protected]>--- drivers/staging/greybus/Documentation/firmware/authenticate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/greybus/Documentation/firmware/authenticate.c +1
-2@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) goto close_fd; } -printf ("UID received: 0x%llx\n" , *(unsigned long long int *)(uid.uid)); +printf ("UID received: 0x%llx\n" , *(unsigned long long *)(uid.uid));/* Get certificate */ printf ("Get IMS certificate\n" ); ---base-commit:
6ae79e7736ee6a5f920867e5346d8a106cd1db74
change-id: 20260305-greybus-unsigned-long-long-e7465302d3fa
Quoted 4 lines
Best regards,
Signature · 1 line
Tomasz Unger <[email protected]>
Someone sent this just before you did:
https://lore.kernel.org/r/[email protected]
sorry,
greg k-h