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 81622CCA47C for ; Tue, 12 Jul 2022 05:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230232AbiGLFuW (ORCPT ); Tue, 12 Jul 2022 01:50:22 -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 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 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