From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3009EC4332F for ; Fri, 23 Dec 2022 06:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235525AbiLWGbQ (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: netdev@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