From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29F9DC433EF for ; Fri, 8 Jul 2022 01:30:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235499AbiGHBaP (ORCPT ); Thu, 7 Jul 2022 21:30:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231985AbiGHBaO (ORCPT ); Thu, 7 Jul 2022 21:30:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B0472ED1; Thu, 7 Jul 2022 18:30:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 74C4061D60; Fri, 8 Jul 2022 01:30:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id BD73EC341C8; Fri, 8 Jul 2022 01:30:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657243812; bh=3qsxC2UJHgQdMvNB3J6vTootEZtZA3FgN4B7niAdi+U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TKLuF6oGwldsso3GxLss9nJe3I6RA8CBIB8JNgPN9B5XHyk4MBYeTlxVfbvB69iZs 6DR41KRFsETZmr2DJu/x2wJaYBX6y7mq0DX2rfYBlhWN3ba+R38jGbQv+oRv5SGCA6 NQL1H/KMj4zDFVfMRcqY1oeYysIRYMh1QhoW3dr2xqtkK2OIXFQCNu8TZUNjHGXFVI nsdqxE3Ak98OlOL/T9BKFEAPAk6/wsfDQAuQB3UyCoNDIouRaWD5gI0LevrKJv10Q0 KHNWN6keIAsRfvDLvvLhUQpkwd/Oba3TJiOKogF1ZBDewY4FxoiLXF8x4TC8mtI2hW +6btEJGSeFTxw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 9CDD5E45BD9; Fri, 8 Jul 2022 01:30:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: l2tp: fix clang -Wformat warning From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165724381263.6017.3389511636331557428.git-patchwork-notify@kernel.org> Date: Fri, 08 Jul 2022 01:30:12 +0000 References: <20220706230833.535238-1-justinstitt@google.com> In-Reply-To: <20220706230833.535238-1-justinstitt@google.com> To: Justin Stitt Cc: jchapman@katalix.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Wed, 6 Jul 2022 16:08:33 -0700 you wrote: > When building with clang we encounter this warning: > | net/l2tp/l2tp_ppp.c:1557:6: error: format specifies type 'unsigned > | short' but the argument has type 'u32' (aka 'unsigned int') > | [-Werror,-Wformat] session->nr, session->ns, > > Both session->nr and session->ns are of type u32. The format specifier > previously used is `%hu` which would truncate our unsigned integer from > 32 to 16 bits. This doesn't seem like intended behavior, if it is then > perhaps we need to consider suppressing the warning with pragma clauses. > > [...] Here is the summary with links: - net: l2tp: fix clang -Wformat warning https://git.kernel.org/netdev/net-next/c/a2b6111b55f3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html