Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp17900lqa; Fri, 26 Apr 2024 12:50:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqnI7fCRiYdYehzYM/DzpjjWCFdgVgWkgUaVxUDZd2gtGEmD1tuxjPoHt9TBtiwMw+8qpl9qr/9TinhAu2AuQrR3e/8qlmYVlJjRrK3Q== X-Google-Smtp-Source: AGHT+IHIVtWVGgiEZUpW/VO10+mZEMdplPwwVpbYMQSPJtpVix25yUGTZGwTVfzz0vKHYyDSG38G X-Received: by 2002:a05:6a20:394d:b0:1a7:a86a:113a with SMTP id r13-20020a056a20394d00b001a7a86a113amr5182929pzg.6.1714161049983; Fri, 26 Apr 2024 12:50:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714161049; cv=pass; d=google.com; s=arc-20160816; b=0/3s46DnV5bRq9wDMVqPHNPjDMKD4lhrKNq24xN867CVFgdWaMS0mFZYQ1NSD8lMJ3 OcwRQ8y6k1AA7kkKEeYRZCJ99JARyAQ0YyHNzfa6Z+p86nUdRgrksmikAm0bs8MjecpE tUOvKgZ2zdHmQKdPHnmeChCps9odDMtjG7MRs1E5C33GuOrRSNkxxgvT97qwusWbPUcF XzX1ocTxVa7AGJMCTbOlrN8UNkiv4eWCTpqWoGrcHd0rLWd0hbYhDOJwvylzPquSmi5D pgWjIMj3pEhEl3I1BPWtWYQRJXiOBoxmBhVV3Sncl8dF3myxszVPlfPe2Z5xGcB2mzyZ N3UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=YrCpdc5XFYlR/6AhVtNFZ8WZ8ysSWa3D+Ze4oXx/o6w=; fh=j8kGZB0nsCFlhGaSWDsE9M4EEK9YfiFDUC8GFUym2tQ=; b=VYAtg6kCwLvhTaL0dPFbKl8qAvC7tdyGTBuNIRzaVpXTuwjbisaSmYaoCjUYQ0ukTS Na4bccThhJsEhxoL4o2omSHR7H3Se5uP4LLL1QgKvoFXEyFjNCtTM/g/ELX6pL2F/PRt adGuq7greZCwz8PyzNW1GYdwPQw2a15EgMQkcwikecUYYmmRnq2iwe7cfj4Z6Lyg8/96 qcLDEbNpey48AyaT8XyKOTz3xWUheP/SF9F12HLMVpz+lcirgN0UKTviajoyO8XYcNNC R39oCZWR1uFBs9z0nvz7B9Z27iXk1AbRU2AAeKLeqpz5Utwypb4u4dfiS4Csp0uvMj5m qjOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HeqK+ERh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i11-20020aa78b4b000000b006ea790f3132si15305239pfd.163.2024.04.26.12.50.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 12:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HeqK+ERh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 081AF288490 for ; Fri, 26 Apr 2024 19:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21ED3BA45; Fri, 26 Apr 2024 19:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HeqK+ERh" 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 403B0D2F5; Fri, 26 Apr 2024 19:50:28 +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=1714161028; cv=none; b=ZS6eDjDfUWVStiMchU+N8i6AnIwzAp94jYlIBG07xNzKRT7kfiHx3r2c/UwM48WQlRXZCb/tTXjuqb05altvU2CEQJ+vZPEGS9B+DFXzV66zUOECT5FoHWhdA1pVHlu8m2MZ97Qo4yoJwE1fuGMFMSxogMPvpgDzybAQNSSiUG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714161028; c=relaxed/simple; bh=vHRJZkQ8HpgX5+OE9Bp2bdD2mq+i0RcRBFQDwrjPHfc=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=QC9hJm7jh7dAnB0VKQwDszTMQ/XvQUSdU+fmSHI4wlt3luCt5y7nTPwFfoVJTNg2NAWyvkRvfYGP29G7uN1gWfJ9sOAx7iUuHluexbKLfdHFCexdAbQ5xJ+E0fQLcxdHRnebz+Tdkuq8Yvx9c0M06/ZYKaAh4CFn75TjU+X03kI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HeqK+ERh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id E641BC4AF08; Fri, 26 Apr 2024 19:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714161027; bh=vHRJZkQ8HpgX5+OE9Bp2bdD2mq+i0RcRBFQDwrjPHfc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=HeqK+ERhmZEUZbMVMpXcAc+GUxuHC6bJNFfMjnO1MgJwKDoJYnnVd4jg47s2tynlB A4cvHMUEi1l0ireg53646LBNhW4RtESJmBH8FGiScb+OfQ0e21fMQ4GTI2W1JLHEBC WXXst8hFBGKQKCxraHZe8+t0x7wPp5nCHVqiocwXMmx/lgxir1eTiRZ0HEFV5F83ky EjFILSEkAiftifAMlkCz8/e2tFjWVvzsig1JushNufliXwiiFKk0i2vbtde6/94woY JNt3SJJu1htoQjwSPDk/D0LTx9x2ScdhDdfYO6O4U0xgomLh5StRVkY/DApUiNrBZb SJ3X+jD30kDnQ== 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 DA5EFC433F2; Fri, 26 Apr 2024 19:50:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v4] net: dsa: lan9303: use ethtool_puts() for lan9303_get_strings() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171416102788.32161.9363103402997234430.git-patchwork-notify@kernel.org> Date: Fri, 26 Apr 2024 19:50:27 +0000 References: <20240425-strncpy-drivers-net-dsa-lan9303-core-c-v4-1-9fafd419d7bb@google.com> In-Reply-To: <20240425-strncpy-drivers-net-dsa-lan9303-core-c-v4-1-9fafd419d7bb@google.com> To: Justin Stitt Cc: andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, keescook@chromium.org, aleksander.lobakin@intel.com Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 25 Apr 2024 01:19:13 +0000 you wrote: > This pattern of strncpy with some pointer arithmetic setting fixed-sized > intervals with string literal data is a bit weird so let's use > ethtool_puts() as this has more obvious behavior and is less-error > prone. > > Nicely, we also get to drop a usage of the now deprecated strncpy() [1]. > > [...] Here is the summary with links: - [v4] net: dsa: lan9303: use ethtool_puts() for lan9303_get_strings() https://git.kernel.org/netdev/net-next/c/8880e2666fa8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html