Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp180008rwj; Thu, 22 Dec 2022 23:08:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXsDbncLIW6vVn3J7Iyjzu+iN1SEiPeO6kLUv6644Uq8Y+iEx3BWHOu7WZ30VVIn9v5GlSP0 X-Received: by 2002:a05:6a20:e61a:b0:ac:a4fd:f5bf with SMTP id my26-20020a056a20e61a00b000aca4fdf5bfmr11731677pzb.50.1671779316298; Thu, 22 Dec 2022 23:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671779316; cv=none; d=google.com; s=arc-20160816; b=SsyIFBKvamhsqsx+v/wJspOI/1yqJQJKJpI7iuls3qNCj+Z66nubUZmlkQSZErWZ8t bME8X3E6jUntesa1BC9cfTS4vsDiEKg3jKaOG7+ZLlajM0/0ghnm8LjE0kT95YOdCODW slnEQDLflABiufEydkIwrpVrYKAItnTJTuAEomxxH++HgAOQTUNQ95+4X39TPtIJQb8O wIy09pM7ZRxfjTvBOzNrWlUMlWo5drmE/rlQtaqpPW8VVlXC+psaEISACvgEitW31oIC bO0v0P4bjdnqb6Sr62ZbYK9USm6dH1aaxNH9BHahWYKZHb4MeiYfsPNPzP010bDanj2/ D4bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=XX/h9v8WfRTc6oAUb2pwdkQY+s+Hn5WVE/XwyQ5c9Jc=; b=nlLYBjyiRe8W5niAhhStmJfBY0/nosYLoLjNxntO2a7WdoSpb1C07z5CDMZlxu1JJn RqIulkSR+Pv5/y0ibO5lSMvqwKxkQWUBTE6acXjfqqfJC9xpoYgDzDb82Psy3O41wgv/ 68fPpMxUeuhP2fLe0m6fUqoE3Zqrm9eSuzdpoh5z0jeMtzkzPzy2aAhn8LBfZxPiGQEI tSh219KpvBRse1yYL5AtaPn5If92zLx2vRJLrXFvLX63ypKNzUqeOp7+dhWBlyHSR4ax b5Mqv8Kl1s7nm7eRRZRITsHXkCJnT94mwfzklHRPfSOy1jHmCsGOaC1SnsmW4kHbeBmn tw0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=riI23Saz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a63d347000000b0047859a0892dsi2870089pgi.340.2022.12.22.23.08.27; Thu, 22 Dec 2022 23:08:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=riI23Saz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235531AbiLWGbQ (ORCPT + 67 others); Fri, 23 Dec 2022 01:31:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235518AbiLWGbO (ORCPT ); Fri, 23 Dec 2022 01:31:14 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA362C767; Thu, 22 Dec 2022 22:31:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 684BFB81F54; Fri, 23 Dec 2022 06:31:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 853A3C433EF; Fri, 23 Dec 2022 06:31:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671777071; bh=lr0f3tny8DtczVnRvNqmxVJZKPbWkCMC9EtJBM2ueoI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=riI23Saz64+uxtxD6jYFatyl8edxBnVg8OeJ02JlUDCx7ZfkNx4Pe/hPtVV5s9MPs NDkkSgUVFUMrs7uPi96VX79McOpJ/AiseIvo4EkDewOnuqDeyduCHpZI0WNoFmWsLg /jrRDlSGvS2UWJSjK4lhC+SPJlFFEVrSXyFMzzIkXnFlmHoAse5RLlo9Vc2OGWB8xM wonmgaJ7LCNQ6DktBDC4yFer11Ce4kDw0ybbG3NZ88EdYv1Um2GTX/DHlfSU5inZke 3XAhgyWXeEAcGa1pUYG9UBhXc2rc9mwjqM2Wg9xWXb51vjgYRGZBc0CeESp8Sa2/8a ngKPjcDUPVZdQ== From: Kalle Valo To: Cc: , , , , , , Subject: Re: [PATCH net-next] wl18xx: use strscpy() to instead of strncpy() References: <202212231057406402834@zte.com.cn> Date: Fri, 23 Dec 2022 08:31:02 +0200 In-Reply-To: <202212231057406402834@zte.com.cn> (yang's message of "Fri, 23 Dec 2022 10:57:40 +0800 (CST)") Message-ID: <87y1qyiqc9.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org writes: > From: Xu Panda > > The implementation of strscpy() is more robust and safer. > That's now the recommended way to copy NUL-terminated strings. > > Signed-off-by: Xu Panda > Signed-off-by: Yang Yang > --- > drivers/net/wireless/ti/wl18xx/main.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) Wireless patches go to wireless-next, not net-next. Also always Cc linux-wireless list, more info in the wiki link below. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches