[PATCH] staging: greybus: standardize data type and fix alignment to parentheses

From: Prithvi Tambewagh

Date: Sun Mar 01 2026 - 04:52:37 EST


Standardize code in the file:
drivers/staging/greybus/Documentation/firmware/authenticate.c
by making the following changes:

1. Remove redundant 'int' from 'unsigned long long int' as suggested by
checkpatch when printing the obtained device UID:
printf("UID received: 0x%llx\n", *(unsigned long long *)(uid.uid));

2. Fix alignment of multi-line printf statement to match opening
parentheses:
printf("Authenticated, result (%02x), sig-size (%02x)\n",
authenticate.result_code, authenticate.signature_size);

Signed-off-by: Prithvi Tambewagh <activprithvi@xxxxxxxxx>
---
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);

base-commit: eb71ab2bf72260054677e348498ba995a057c463
--
2.34.1