[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165733681359.2987.15825451624202428901.git-patchwork-notify@kernel.org>
Date: Sat, 09 Jul 2022 03:20:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Justin Stitt <justinstitt@...gle.com>
Cc: davem@...emloft.net, dhowells@...hat.com, edumazet@...gle.com,
kuba@...nel.org, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
marc.dionne@...istor.com, nathan@...nel.org,
ndesaulniers@...gle.com, netdev@...r.kernel.org, pabeni@...hat.com,
trix@...hat.com
Subject: Re: [PATCH v2] net: rxrpc: fix clang -Wformat warning
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 7 Jul 2022 11:20:52 -0700 you wrote:
> When building with Clang we encounter this warning:
> | net/rxrpc/rxkad.c:434:33: error: format specifies type 'unsigned short'
> | but the argument has type 'u32' (aka 'unsigned int') [-Werror,-Wformat]
> | _leave(" = %d [set %hx]", ret, y);
>
> y is a u32 but the format specifier is `%hx`. Going from unsigned int to
> short int results in a loss of data. This is surely not intended
> behavior. If it is intended, the warning should be suppressed through
> other means.
>
> [...]
Here is the summary with links:
- [v2] net: rxrpc: fix clang -Wformat warning
https://git.kernel.org/netdev/net-next/c/5b47d2364652
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists