From: Kosugi Souta <k.souta0926@gmail.com>
To: johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org
Cc: greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org, k.souta0926@gmail.com
Subject: [PATCH] staging: greybus: authenticate: fix alignment and type warning
Date: Mon, 23 Mar 2026 03:10:17 +0000 [thread overview]
Message-ID: <20260323031017.3650-1-k.souta0926@gmail.com> (raw)
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
next reply other threads:[~2026-03-23 3:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-23 3:10 Kosugi Souta [this message]
2026-03-30 15:52 ` [PATCH] staging: greybus: authenticate: fix alignment and type warning 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-04 0:59 ` [PATCH v3 2/2] staging: greybus: fix alignment to match open parenthesis Kosugi Souta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260323031017.3650-1-k.souta0926@gmail.com \
--to=k.souta0926@gmail.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox