Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4395311imw; Thu, 7 Jul 2022 18:39:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucjF9UYXxYr/QIFD1djbrAhssDZsWGbsSV0xJyxJwmoetG/af16Tjb+lnDsHoo6/MXzXRL X-Received: by 2002:a05:6402:2b93:b0:43a:5aad:73c2 with SMTP id fj19-20020a0564022b9300b0043a5aad73c2mr1410937edb.300.1657244368697; Thu, 07 Jul 2022 18:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657244368; cv=none; d=google.com; s=arc-20160816; b=TIt3RsSdGb1HeJpB7CGAs4TCrzwAwPAkoXC96CJDArUzI3QKsMNFiRk7ZxWo+8knCd HhKFFnk/kdIG8W85dce4CP6kULuWXJYXj6EiOo7F2A2qmeawX8RwUSRBbsJcXJuC6nXW C0cJYtW0bU47Rj+accJQeuDTKvRWale/GPzvBVB0rNTUl5mIgxmpqHldIuqFyzHGcaUw NUV5oFHNI9dGrFSj5pubXlZQV3WodQRxXykzdMouWbAYQEz2HcL6/C89I5QEIKCEMz2G wkKvcoCSaDLfhWwmHFbb/VFZI3jM01ewNK+0sw88BGlLFbPQjtBxCXgj8M9IPlcjE0bv 143g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=FyORv4cuYP4ik+QhWfAcmduRvK16hKlvbFYy/cw3v+I=; b=VqY6k0ZPB2BeZ2bawemmoFLGvZZvSp67qNh3SPR3cJ4G1obrJck/eU3whxI/jxt9At hueBH/ICXZiVsUfEEKtvTm9WnsvPOI4Qrl/xRzjZXItg6+jeR60jqyQyJ92ut+yeurvD 97ffL5Ii2Gyj4DmQ4xlFBiz/7jvJJeE3mBxQ5Vbfe2uFpIr9Ic9CWgWErOLMYWC4Juan I7oBZOcPIvFo4++8yNaqMZ7llXDdkPPCnaPsbg6HV0Wr4Pbz2gMQHAj0zVDOFChuqqqN fEuUgfDmkWjs7HxF1J0oHoLVh2gBbf7qr5RAbyQLO7i+N7oZiJWS3PDqgkzNrDtUi1rO OzqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TKLuF6oG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg7-20020a170907a40700b006fe8ee84794si3054629ejc.370.2022.07.07.18.39.03; Thu, 07 Jul 2022 18:39:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TKLuF6oG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235122AbiGHBaP (ORCPT + 99 others); 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 X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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