Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5288265rwn; Mon, 12 Sep 2022 07:04:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR7iyxtkB16DHjrQpruQW6IeZ5UCrJq2cRJLmKL0UKdPUoArGlXOW84pDUgHy2IoYc34ehQm X-Received: by 2002:a17:903:188:b0:178:3d49:45a0 with SMTP id z8-20020a170903018800b001783d4945a0mr1807095plg.154.1662991453018; Mon, 12 Sep 2022 07:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662991453; cv=none; d=google.com; s=arc-20160816; b=OJAQxhUf38vMV0jR8NBBm3FFdSanvNQcxhJjDjmvqZwfnZwX3FNo8o+YGOOo++sHDv DtE1p7meRsWbik8TK1A0027A6VhrLKSV0MRwZgw1rfW+4517FGScn60urRhN8Aem+iIn yK9RLnzPtWDfESALJ9hTKmTYYxSbHRxe3mAgPY6hfppZYotJFG8WMjeiZNAc/AqEQu7u I1ZU6uQk90UZLeEEX9VpKvEPegq4gykdP9yinz/uuDjx4JpMmfpuKM5hGVxUHyupkS+p hUlqJLFXz3P5rix98on4BGAqJ3jTjNv8P6wgJC/HkgD2J3XSoD4AHL5QqAsYjWCD2FcK PKKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=67CBA25lVzTKh5obbO7MdbgOo5QtJk8+2ieKBljR5pM=; b=cKHaPU4YCVsKiUPwgoZMX085BnCdnFXnzLdq4OIRtfYKx6CVv1SNxZyFuUhkHW4ttw tQhF7rYeBty7Yp0E5W0cC1Bx6A+uey1ZmcMf7dYk0bLkqheHNgl8wCDLANms98if+doO Ua9SFBkO3NssjBraqeocQt0BMxxxWburPotjW2lWR2OVfP94Qxa0EV2g8HROH4nKkceN Vw9IihoKB8KZ9X9G+B97HlMMfwKL6IVz2N8Eaw/7lXfEHYihWFL5T/v7MZXszFfXaenl PnSLMb+g0xul3pyj48RNHlFrJHH/KV/kPsHLxMsJ833AhkIujSwbHQOzD46S5Sv5+17K XT/Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020a170902b61700b0017824f38242si6208831pls.75.2022.09.12.07.03.54; Mon, 12 Sep 2022 07:04:13 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230054AbiILOC5 (ORCPT + 99 others); Mon, 12 Sep 2022 10:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbiILOCx (ORCPT ); Mon, 12 Sep 2022 10:02:53 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 37EB032ABB; Mon, 12 Sep 2022 07:02:45 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1oXk1M-0007Yg-02; Mon, 12 Sep 2022 16:02:44 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 493E6C1291; Mon, 12 Sep 2022 15:40:30 +0200 (CEST) Date: Mon, 12 Sep 2022 15:40:30 +0200 From: Thomas Bogendoerfer To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Subject: Re: [PATCH] MIPS: move from strlcpy with unused retval to strscpy Message-ID: <20220912134030.GC9232@alpha.franken.de> References: <20220818205943.6288-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220818205943.6288-1-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On Thu, Aug 18, 2022 at 10:59:43PM +0200, Wolfram Sang wrote: > Follow the advice of the below link and prefer 'strscpy' in this > subsystem. Conversion is 1:1 because the return value is not used. > Generated by a coccinelle script. > > Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/ > Signed-off-by: Wolfram Sang > --- > arch/mips/kernel/prom.c | 6 +++--- > arch/mips/kernel/relocate.c | 2 +- > arch/mips/pic32/pic32mzda/init.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]