From mboxrd@z Thu Jan 1 00:00:00 1970 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 98A47BA34 for ; Fri, 24 Apr 2026 01:31:16 +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=1776994276; cv=none; b=cxIZ/89jp5ExIR6Kobs62FyXSbfH/hs4l8dMq/m8QoTiawLnXsR/Ia+R6t7OLvonfIBF1uuWLdmrb5ux5XsKlyqSIJ72HUGgojHRiFsWaaMtl/CdJGr97A4gXUqCMZNdDN6RrcC3oc6nEmLFz/c3zx4Kp5VecUNi1PV1YH7if2s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776994276; c=relaxed/simple; bh=3mgW5zjHqs7EzXR4RLAYSETXNNCBa2QhsAQTOQZP4aw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fU1ILELoZvY+TxxR9if4r2ScUpU6bSbwIjNRKEZPpPpMnio5Qy47AyE61gxf5p50qux4cVONqzd/hC10Hq7Vfy7sWKgMRAi2Bd2Ytw2NXzi1QKb9wRulyAmK3Nn1x7uDfaNc91Qu5gbXjQmHa2IW27uoUJxjArZrXj+ykWxZ0PI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gUOn+NUO; 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="gUOn+NUO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2774C2BCAF; Fri, 24 Apr 2026 01:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776994276; bh=3mgW5zjHqs7EzXR4RLAYSETXNNCBa2QhsAQTOQZP4aw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gUOn+NUO6pX3WM8ZOmNCrXpncXxXtEqa1Owj8j6/ffChaDbR6IkeWgbGCSvQqfi9d 6LWKNBKxXOiJDhzJoV4vQ8DL3vDmUUJ+EdMgyGyTjXzMr0ueG/S25dF4Hs5ZCoxYmw ihMSylbilKkUDaZqSUOY2KC5zeLtrH1RIfM1/3Q98EjG5arwCrylFR9fbumA5AyrEY E6lYIGGTJ2uw0ZY6Ysv8PnXxMJl7X4Dv0LMzYyESEQJ3MKCX0qRfO+AEwU+0ewc06o g+2V/iFyqz8cGviaNslg0sSlbo+9UwJTLSgzru/FivFqwPfvrR1uNLaLn4bgP0k+eC kxS9xHQTly2Cw== Date: Thu, 23 Apr 2026 18:31:14 -0700 From: Jakub Kicinski To: =?UTF-8?B?w4FsdmFybw==?= Costa Cc: jiri@resnulli.us, "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , netdev@vger.kernel.org Subject: Re: [PATCH] devlink/param: replace deprecated strcpy() with strscpy() Message-ID: <20260423183114.560396c1@kernel.org> In-Reply-To: <20260424012037.89619-1-alvaroc.dev@gmail.com> References: <20260424012037.89619-1-alvaroc.dev@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 23 Apr 2026 22:20:22 -0300 =C3=81lvaro Costa wrote: > Replace strcpy() call used to extract a string parameter from param_data > with strscpy(). Since strscpy() already performs bounds checking and > ensures the destination string is NUL-terminated, remove the string > length check as well. ## Form letter - net-next-closed We have already submitted our pull request with net-next material for v7.1, and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after Apr 27th. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#de= velopment-cycle --=20 pw-bot: defer pv-bot: closed