Messages in this thread | | | Subject | Re: [PATCH] l2tp: l2tp_debugfs: fix Clang -Wformat warnings | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 08 Jul 2022 11:50:16 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
On Thu, 7 Jul 2022 15:14:56 -0700 you wrote: > When building with Clang we encounter the following warnings: > | net/l2tp/l2tp_debugfs.c:187:40: error: format specifies type 'unsigned > | short' but the argument has type 'u32' (aka 'unsigned int') > | [-Werror,-Wformat] seq_printf(m, " nr %hu, ns %hu\n", session->nr, > | session->ns); > - > | net/l2tp/l2tp_debugfs.c:196:32: error: format specifies type 'unsigned > | short' but the argument has type 'int' [-Werror,-Wformat] > | session->l2specific_type, l2tp_get_l2specific_len(session)); > - > | net/l2tp/l2tp_debugfs.c:219:6: error: format specifies type 'unsigned > | short' but the argument has type 'u32' (aka 'unsigned int') > | [-Werror,-Wformat] session->nr, session->ns, > > [...]
Here is the summary with links: - l2tp: l2tp_debugfs: fix Clang -Wformat warnings https://git.kernel.org/netdev/net-next/c/9d899dbe2301
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |