From: patchwork-bot+netdevbpf@kernel.org
To: Justin Stitt <jstitt007@gmail.com>
Cc: thomas.lendacky@amd.com, llvm@lists.linux.dev,
ndesaulniers@google.com, nathan@kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH] net: amd-xgbe: fix clang -Wformat warning
Date: Thu, 09 Jun 2022 04:20:12 +0000 [thread overview]
Message-ID: <165474841209.6883.1108959402027978072.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220607191119.20686-1-jstitt007@gmail.com>
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 7 Jun 2022 12:11:19 -0700 you wrote:
> see warning:
> | drivers/net/ethernet/amd/xgbe/xgbe-drv.c:2787:43: warning: format specifies
> | type 'unsigned short' but the argument has type 'int' [-Wformat]
> | netdev_dbg(netdev, "Protocol: %#06hx\n", ntohs(eth->h_proto));
> | ~~~~~~ ^~~~~~~~~~~~~~~~~~~
>
> Variadic functions (printf-like) undergo default argument promotion.
> Documentation/core-api/printk-formats.rst specifically recommends
> using the promoted-to-type's format flag.
>
> [...]
Here is the summary with links:
- net: amd-xgbe: fix clang -Wformat warning
https://git.kernel.org/netdev/net/c/647df0d41b6b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2022-06-09 4:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 19:11 [PATCH] net: amd-xgbe: fix clang -Wformat warning Justin Stitt
2022-06-07 20:44 ` Nick Desaulniers
2022-06-09 4:20 ` patchwork-bot+netdevbpf [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=165474841209.6883.1108959402027978072.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=jstitt007@gmail.com \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=netdev@vger.kernel.org \
--cc=thomas.lendacky@amd.com \
/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