Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4010933imw; Mon, 11 Jul 2022 22:53:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uPwyyhRYxZyW5SOtaKU7yLAju7cbsol2U379x7fzqQXv1FXS7tymvfxvECtmmknDUWDUtj X-Received: by 2002:a63:1a26:0:b0:412:434a:48fc with SMTP id a38-20020a631a26000000b00412434a48fcmr18867168pga.623.1657605219008; Mon, 11 Jul 2022 22:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657605219; cv=none; d=google.com; s=arc-20160816; b=iBL+1mV3VTEms8BMQsEVxMXpS/Ig2MqcRF5w6YSwTCsEu/jd9AhUhN0o6ISI2VfqOM X1S8WCfXcggaE4EmyZkHyXRMImRSdKuuZ3lt6OgkJCDsMXSiZcWduYVEMZdkikUIBGTv K4U0vYgE93dAgzPNml1kX3YNmBeNrOEuxl0cjPM8WhPfwQ4j5g04qzxMdygMj5WcoLoj YiXDsU+T+dJryacncj+/C5+2vYEfSRARYR4Bcqv02qbYgv4I/hxNM8Hd5VAaI0M+1fbR 7JLhACIeMW6p2V6JjtD+SLoVkt354rSGiyDFDsjiR5T0OH47VES9Q2x/xge6YXiR7btX ofjg== 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=v9VRr2GDxxTbIigCm67Yeuu49YlJXg1C/4B1P0Sg3QA=; b=p15ofje5S5bMDimqjwDLhQYM2FsVlMX2FCaPDvkTVeIEFXf/hrs8vnqiiVaIzq4xoO OCC12hTUJII681aMFrGqCc14ylDEJNxqm4co90J8PlUZvKOigqcZuWQBh6XmVV4X/lWI vl5cpZhArPEMofYGCY36CNfFMugXpCdzmBpln1EoWpGvI9yFcgFkunqVMSAj/HsqioUX VWTmafoEtUT6iLPseHqJCXzjdAMTLpMGrzQ3OCdnISwaKnGPW/saNTFsteWhIo2QTafo fXKhGH+6HhXpS6KRNvZ8j+9XbIlrmIvELs8gwdzaA7r8jueivtdZT5TX3U8qALWPL0YM +SVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kF0dV6jM; 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 l7-20020a056a00140700b0051beb7365b5si13710433pfu.355.2022.07.11.22.53.26; Mon, 11 Jul 2022 22:53:38 -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=kF0dV6jM; 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 S231145AbiGLFuX (ORCPT + 99 others); Tue, 12 Jul 2022 01:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbiGLFuR (ORCPT ); Tue, 12 Jul 2022 01:50:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E71998D5DA; Mon, 11 Jul 2022 22:50:16 -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 77F6460C67; Tue, 12 Jul 2022 05:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9C785C341CE; Tue, 12 Jul 2022 05:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657605015; bh=tjDAFWMUaCd/gjFL7LXU8CNijhak50PUBy7ftNMmNfk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kF0dV6jMkR2vo4p2d6kaPVO1CNSGEDZzACTMzh38Ux2XJbdQZJ0PLnJ3saygnIxVG fkDwDn3cslwwfqpLb7MSgmkoHPQv5ovvc7tFBNw9XOMknRZ143KSXr7VNA0N06DWg/ Hu5nNwQ3Brx7xWD+lBxYq4ZziI8RFTgTwyAQYmoZT35obBsdf9Z+BVDB0A2rjC2BXH 5FWIEAUK6+2kx80FrYRpZvSr6WTMv/m0IH3Jw0zIgOcke5QN//2RiADwoDTDUqzAj0 fVPACfEmrFBZ0/7H+sniRTMKpDDcBAt8lseAJajyG7VsnbKk8SHeLF65YndlmV8RSd sw5KM5wSzRz9Q== 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 749A8E45224; Tue, 12 Jul 2022 05:50:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] amd-xgbe: fix clang -Wformat warnings From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165760501547.3229.11142001754372136783.git-patchwork-notify@kernel.org> Date: Tue, 12 Jul 2022 05:50:15 +0000 References: <20220708232653.556488-1-justinstitt@google.com> In-Reply-To: <20220708232653.556488-1-justinstitt@google.com> To: Justin Stitt Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, thomas.lendacky@amd.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.7 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 Fri, 8 Jul 2022 16:26:53 -0700 you wrote: > When building with Clang we encounter the following warning: > | drivers/net/ethernet/amd/xgbe/xgbe-dcb.c:234:42: error: format specifies > | type 'unsigned char' but the argument has type '__u16' (aka 'unsigned > | short') [-Werror,-Wformat] pfc->pfc_cap, pfc->pfc_en, pfc->mbc, > | pfc->delay); > > pfc->pfc_cap , pfc->pfc_cn, pfc->mbc are all of type `u8` while pfc->delay is > of type `u16`. The correct format specifiers `%hh[u|x]` were used for > the first three but not for pfc->delay, which is causing the warning > above. > > [...] Here is the summary with links: - amd-xgbe: fix clang -Wformat warnings https://git.kernel.org/netdev/net-next/c/2afe46474ba3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html