From patchwork Fri Oct 11 09:57:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 13832304 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1929020FA9C; Fri, 11 Oct 2024 09:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728640639; cv=none; b=kTyl2IgecFr7QTtP0PmWLhJ4MMcI0OOJ2E43rEsvt8mQ6jkzRSFkt8m/yjkyitn+NbSuhT230o6auIa9JDuhHHqM4AP4ijZmk+V/Si2K02+qtraNMCLxAvzfw4s+BIIK71jQU8fCTP4Rqec3EUmSx/7lSMxLuOTEH3CyjkniuDM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728640639; c=relaxed/simple; bh=Rz/W9QlH6CCASPfisYQo2Uxdr9sj88V+CDnZpNAOLWY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=CgBtZFnMANesP8Y20oUq+pDa8o+1r/gsalTXyMRWPn37tGWWLKWtnENhCqhriuNQHyTMDkCCqdNXlBzrXPWNiY3UevGic2lAR7QWKBWvQ912I5dhrUxoulPxJ6k89gu9xGHFHMMEhNV2nA1TyV+5BtT9ZPfAJ2HHWHxBBjsVcB0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Uu45pac7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Uu45pac7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F0D7C4CEC3; Fri, 11 Oct 2024 09:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728640638; bh=Rz/W9QlH6CCASPfisYQo2Uxdr9sj88V+CDnZpNAOLWY=; h=From:Subject:Date:To:Cc:From; b=Uu45pac7QlRCjDze5nXkdD3zdJRa8iASemsM6nXnwldHPXwQ5b4L/JUsH+wbmbNDw oDP2kOGu7RArTS+Fb33fCO2Gv8DpZAkRZVi1H9NwVfXsU605YwWCA9/aebTPMNdYql EFW9ycJ7FMxOw64JIHx2n9Wkg0EZ+u4yHVWMsFwwDO4dQoZU3OLiFiw04z5TmlqAlU 1ixVxAF0QTTeo83suulLa4SEDDi4zKY3gCc4Hy4P38PkPbr/U7KLysbkQS9eF7SY50 nJ4kZdICJgqAyx53rkUtiB6EOM6EVQsfqBH9gHUQJt2oesInVFBGMPKWm0lmz552IV 0DWKPXb3dXhCQ== From: Simon Horman Subject: [PATCH net-next 0/3] net: String format safety updates Date: Fri, 11 Oct 2024 10:57:09 +0100 Message-Id: <20241011-string-thing-v1-0-acc506568033@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHX2CGcC/x2MywqAIBAAfyX2nKBW9PiV6FC22V62UAlB/Pesy 8AcZhJ4dIQepiqBw4c8XVxE1RWYc2WLgvbioKVulVRK+OCIrQjnRzOu7WB0tzX9ACW5HR4U/90 MjEEwxgBLzi/82WLDaAAAAA== To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Woojung Huh , Andrew Lunn , Florian Fainelli , Vladimir Oltean , Richard Cochran , Jiawen Wu , Mengyuan Lou , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Jeffrey Hugo , Carl Vanderlip , Oded Gabbay , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, llvm@lists.linux.dev, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org X-Mailer: b4 0.14.0 Hi, This series addresses string format safety issues that are flagged by tooling in files touched by recent patches. I do not believe that any of these issues are bugs. Rather, I am providing these updates as I think there is a value in addressing such warnings so real problems stand out. --- Simon Horman (3): net: dsa: microchip: copy string using strscpy net: txgbe: Pass string literal as format argument of alloc_workqueue() accel/qaic: Pass string literal as format argument of alloc_workqueue() drivers/accel/qaic/qaic_drv.c | 4 ++-- drivers/net/dsa/microchip/ksz_ptp.c | 2 +- drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) base-commit: 59ae83dcf102710f097aa14de88ea5cb1396b866