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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF446E7B61B for ; Wed, 4 Oct 2023 13:46:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6DBC761401; Wed, 4 Oct 2023 13:46:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 6DBC761401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1696427171; bh=5sFweFRHCzBe4PKNv8pdEGBnj4gFtY/UEVj+OqgBFCM=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=kWX6ZL1Dx/Z89o1B5V9S3toqOn2VhQHBSLw0fM7PMSGfvYffaSuCFTn0o1an5ya8q NzsqBndRgfpwyxQhVagDlWL1x/JqCFBicwMRYCAY1iPXBNh7xqPnVetshx3YPCISNX BJ3XFQmjsUXYPtuPSnS+rJdFEYphMlfG8PLoljGEUOkQhIL+XXE45B3Jmd5wwaFs2E Y0aM9S/Dih7obG0s+Nr/CpDyYHs+clOkPECLIaQ5sqZi5LYhic7oQQbqu+HNcLhZBy 5mFVCNOjdR3Ag2YYK0sWPUipQxdc2bhELliinlKkR7QmSi758+NiACoB7yDSog1094 SeYBGnXCTEuqg== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RQC4G4mM94Xe; Wed, 4 Oct 2023 13:46:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 5916B60BBC; Wed, 4 Oct 2023 13:46:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5916B60BBC Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 46F881BF3D2 for ; Wed, 4 Oct 2023 13:46:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1B8D58266C for ; Wed, 4 Oct 2023 13:46:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1B8D58266C X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eeT21DW6V3wF for ; Wed, 4 Oct 2023 13:46:01 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by smtp1.osuosl.org (Postfix) with ESMTPS id C7C9282662 for ; Wed, 4 Oct 2023 13:46:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org C7C9282662 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4917961560; Wed, 4 Oct 2023 13:46:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB9B4C433C7; Wed, 4 Oct 2023 13:45:58 +0000 (UTC) Date: Wed, 4 Oct 2023 15:45:56 +0200 From: Simon Horman To: Jesse Brandeburg Message-ID: References: <20231003183603.3887546-1-jesse.brandeburg@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231003183603.3887546-1-jesse.brandeburg@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696427159; bh=Y3BmwF1KMQTZaurfsApWQj9Ur5s5JXdDqe4t2kyvNuI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n8nrTJ/lUpQKP6UJMvOacIPHavv4eTu9mszLq6RJGnVUsAjrl+swqOEYEBnwyWrab HoYPKt7B6oFIRCJa910TZSCycFUmiAGqoGTv0ACsJsOkMtqUitFASU7UQ1+bpXDGZ/ PJoaVxuX8uITj37dHRi37XIiariBrqwTK88Nml01Sv+vQ4uHUiZJBsjNjZNm+ZSBit vZ+foHIqOdEdUVT7C92sxAHeEOJSok7+sDWgm1zidKW9x+66shp0YZA/axwa4x1hNW GCfDF+zwZP3vq1JGEarRgde4RJP01+0Wt89k1znBpJhVTZ4/l51Scij81OIIisdFfO bXFhX+EsO2pxQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=n8nrTJ/l Subject: Re: [Intel-wired-lan] [PATCH iwl-next v1 0/2] intel: format specifier cleanups X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, Christophe JAILLET , intel-wired-lan@lists.osuosl.org, Przemek Kitszel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, Oct 03, 2023 at 11:36:01AM -0700, Jesse Brandeburg wrote: > Clean up some warnings from the W=1 build which moves the intel > directory back to "clean" state. This mostly involved converting to > using ethtool_sprintf where appropriate and kasprintf in other places. > > The second patch goes the extra mile and cleans up -Wformat=2 warnings > as suggested by Alex Lobakin, since those flags will likely be turned on > as well. > > gcc-12 runs clean after these changes, and clang-15 still has some minor > complaints as mentioned in patch-2. > > Jesse Brandeburg (2): > intel: fix string truncation warnings > intel: fix format warnings > > .../net/ethernet/intel/i40e/i40e_ethtool.c | 6 ++- > .../net/ethernet/intel/iavf/iavf_ethtool.c | 8 ++-- > .../net/ethernet/intel/iavf/iavf_virtchnl.c | 22 ++++------- > drivers/net/ethernet/intel/ice/ice_ethtool.c | 7 ++-- > drivers/net/ethernet/intel/ice/ice_ptp.c | 4 +- > drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 +- > drivers/net/ethernet/intel/igb/igb_main.c | 37 +++++++++---------- > drivers/net/ethernet/intel/igc/igc_ethtool.c | 5 ++- > .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 4 +- > 9 files changed, 46 insertions(+), 51 deletions(-) For series, Reviewed-by: Simon Horman Tested-by: Simon Horman # build-tested _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan