Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3505249rdg; Tue, 17 Oct 2023 18:11:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWrBRyJkgoOr7MnhNAgs89x/XvHx8XZUhnI5oYTNdAqgoAYdgLCd8JJ9a1aSIWnOW2w6wV X-Received: by 2002:a17:902:ce81:b0:1c0:cbaf:6954 with SMTP id f1-20020a170902ce8100b001c0cbaf6954mr5208785plg.25.1697591467019; Tue, 17 Oct 2023 18:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697591467; cv=none; d=google.com; s=arc-20160816; b=yhoD1JGevDeLj+JcIu76GuJT8rqoq88S+nSmgy/UdldZJ/SlqzxLiHPUxW3OGJxjku 1/j6gFEWrEj/0Ok73Bda/nii699zgHjzDIIkh02QaL7N/MZ1DsDzPptTJhqGvD7jpjz6 fc9fPjsvgzPUQV0mZlqJ2Hw8CnifR1WRlk9ofofp6r+ZCnC189m3FwSn8i1hbOg5QxUl S0WL7P2YjMneUBS4lU31QIaXMu6/5RSz/zE2lOFdif0en8BTOy898VTk4exIrQCt/DSM JQ8FrcOFXFCGj3tDWy7p1ZHf8G86UlLIR3DBwYoIDlOKuDJCmv4lk9B871/sG+fuH3rb kFVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=qF6nqJBIir+YgvmHy6URgJc3YtQmDGYLFou3CRm8cJ0=; fh=DZB+ckPo5J+nHimOYI5o6MLxL/x9sRfvvAPrIHjN6d4=; b=x/+hZkDcFW9G8lzK9rSIntKkhS2xtr7NAdvRqVo8NoHaiLSDAkSJtKPsMbNmJ5OUhH 4R59bQge7Fb4bzVoBl+DPq6pkZbUg/HQ/3EW2YYG2fFdTwpbK51zloDMZaAv2aFJAe/R oLUWjHf0fm13Pn80iTpRX/+ycoXX7jkXl/jN0q4b1yHSnzClJqcoBOjYoSzWt+zhfmxk R8FrAr5NsD9pJqDIR+yF01voKlyndX4oID9sUw2ANBktpplIUyfD+l6uSbKC00jMtVM1 +zy6gNudZkdPoOldKEc1LrfaP///hHQDVNWWsQddawygTwnbt9YOMAaavDPD0xg0kFia 8Vcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sR8wrLxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id k4-20020a170902d58400b001c7264c458dsi3050603plh.181.2023.10.17.18.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 18:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sR8wrLxO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EDF61806511F; Tue, 17 Oct 2023 18:10:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344264AbjJRBK0 (ORCPT + 99 others); Tue, 17 Oct 2023 21:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234859AbjJRBKZ (ORCPT ); Tue, 17 Oct 2023 21:10:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C40410C; Tue, 17 Oct 2023 18:10:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id CF9ABC433C8; Wed, 18 Oct 2023 01:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697591422; bh=WPJ/r8+0jyetchJwy0VLkx+UQMJn64TVCXqZ4uqyTz0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=sR8wrLxO9NaaYo7u5jAGmbvtGAnodVa5rRjKLeDjWUX1o1XwubZqFJr8vyFbv69Ym o8fpJGdaQsugI9naJ61lloVTHSxyMdfh0+NRNs7Lt+/ublPQzZMs5+QWWHpAmZ6RWJ s0yZf6zw5V+BYZS1DkqrjryZdcZECWaz186hhBEUpZnm4GJETRYlQx7RPGBVu0yfhL jbO9RxxY+eRqb4rYQlgqewmpQON3OBBuLYjxg/vubZPUsBuAjf5zXa6ui5Tgn273kR 88kGpX/yrVQ+prfxQzXb4EY29oVOJeINeTCrta0dPEZlNsvpSQICPW9o6J+aiVz3Xm Vq3rwy51eo7mQ== 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 B472FC04E24; Wed, 18 Oct 2023 01:10:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] hamradio: replace deprecated strncpy with strscpy_pad From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169759142273.24973.7934258453986488450.git-patchwork-notify@kernel.org> Date: Wed, 18 Oct 2023 01:10:22 +0000 References: <20231016-strncpy-drivers-net-hamradio-baycom_epp-c-v2-1-39f72a72de30@google.com> In-Reply-To: <20231016-strncpy-drivers-net-hamradio-baycom_epp-c-v2-1-39f72a72de30@google.com> To: Justin Stitt Cc: t.sailer@alumni.ethz.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-hams@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 18:10:51 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 16 Oct 2023 18:42:42 +0000 you wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expect both hi.data.modename and hi.data.drivername to be > NUL-terminated based on its usage with sprintf: > | sprintf(hi.data.modename, "%sclk,%smodem,fclk=%d,bps=%d%s", > | bc->cfg.intclk ? "int" : "ext", > | bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, > | bc->cfg.loopback ? ",loopback" : ""); > > [...] Here is the summary with links: - [v2] hamradio: replace deprecated strncpy with strscpy_pad https://git.kernel.org/netdev/net-next/c/d4b14c1da5bf You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html