From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Tomasz Unger <tomasz.unger@yahoo.pl>
Cc: Johan Hovold <johan@kernel.org>, Alex Elder <elder@kernel.org>,
greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: greybus: Prefer 'unsigned long long' over 'unsigned long long int'
Date: Mon, 9 Mar 2026 17:03:50 +0100 [thread overview]
Message-ID: <2026030937-deception-tubeless-56bc@gregkh> (raw)
In-Reply-To: <20260305-greybus-unsigned-long-long-v1-1-e912b6023fcd@yahoo.pl>
On Thu, Mar 05, 2026 at 09:58:19AM +0100, Tomasz Unger wrote:
> 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 <tomasz.unger@yahoo.pl>
> ---
> drivers/staging/greybus/Documentation/firmware/authenticate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/greybus/Documentation/firmware/authenticate.c b/drivers/staging/greybus/Documentation/firmware/authenticate.c
> index 3d2c6f88a138..0ef88b7d24de 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");
>
> ---
> base-commit: 6ae79e7736ee6a5f920867e5346d8a106cd1db74
> change-id: 20260305-greybus-unsigned-long-long-e7465302d3fa
>
> Best regards,
> --
> Tomasz Unger <tomasz.unger@yahoo.pl>
>
Someone sent this just before you did:
https://lore.kernel.org/r/20260304193206.4992-1-rayfraytech@gmail.com
sorry,
greg k-h
prev parent reply other threads:[~2026-03-09 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260305-greybus-unsigned-long-long-v1-1-e912b6023fcd.ref@yahoo.pl>
2026-03-05 8:58 ` [PATCH] staging: greybus: Prefer 'unsigned long long' over 'unsigned long long int' Tomasz Unger
2026-03-09 16:03 ` Greg Kroah-Hartman [this message]
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=2026030937-deception-tubeless-56bc@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=elder@kernel.org \
--cc=greybus-dev@lists.linaro.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=tomasz.unger@yahoo.pl \
/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