All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: greybus: authenticate: fix alignment and type warning
@ 2026-03-23  3:10 Kosugi Souta
  2026-03-30 15:52 ` Greg KH
  0 siblings, 1 reply; 10+ messages in thread
From: Kosugi Souta @ 2026-03-23  3:10 UTC (permalink / raw)
  To: johan, elder, gregkh
  Cc: greybus-dev, linux-staging, linux-kernel, k.souta0926

Fix the following checkpatch.pl warning and check:
- Warning: Prefer 'unsigned long long' over 'unsigned long long int'
- Check: Alignment should match open parenthesis

Signed-off-by: Kosugi Souta <k.souta0926@gmail.com>
---
 drivers/staging/greybus/Documentation/firmware/authenticate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/Documentation/firmware/authenticate.c b/drivers/staging/greybus/Documentation/firmware/authenticate.c
index 3d2c6f88a138..ba4b16b04557 100644
--- a/drivers/staging/greybus/Documentation/firmware/authenticate.c
+++ b/drivers/staging/greybus/Documentation/firmware/authenticate.c
@@ -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");
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
 	}
 
 	printf("Authenticated, result (%02x), sig-size (%02x)\n",
-		authenticate.result_code, authenticate.signature_size);
+	       authenticate.result_code, authenticate.signature_size);
 
 close_fd:
 	close(fd);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-27  3:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23  3:10 [PATCH] staging: greybus: authenticate: fix alignment and type warning Kosugi Souta
2026-03-30 15:52 ` Greg KH
2026-04-02  5:11   ` [PATCH v2 0/2] staging: greybus: fix checkpatch style issues Kosugi Souta
2026-04-02  5:11     ` [PATCH v2 1/2] staging: greybus: fix unsigned long long type warning Kosugi Souta
2026-04-02  5:33       ` Greg KH
2026-04-02  5:11     ` [PATCH v2 2/2] staging: greybus: fix alignment to match open parenthesis Kosugi Souta
2026-04-04  0:59   ` [PATCH v3 0/2] staging: greybus: fix checkpatch style issues in authenticate.c Kosugi Souta
2026-04-04  0:59     ` [PATCH v3 1/2] staging: greybus: fix unsigned long long type warning Kosugi Souta
2026-04-26 19:18       ` Greg KH
2026-04-04  0:59     ` [PATCH v3 2/2] staging: greybus: fix alignment to match open parenthesis Kosugi Souta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.