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 B3D9EC32772 for ; Sun, 21 Aug 2022 11:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbiHULT4 (ORCPT ); Sun, 21 Aug 2022 07:19:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbiHULTy (ORCPT ); Sun, 21 Aug 2022 07:19:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 767B92611A; Sun, 21 Aug 2022 04:19:53 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 13BF760DFA; Sun, 21 Aug 2022 11:19:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE4DBC433C1; Sun, 21 Aug 2022 11:19:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661080792; bh=UE2mzwxvhVOAbwYZ7hJUqcJdlJbQndqv1O4KiDWCuAQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BCmXdIMF4YteDzET4Zgwy7eRa9dDq7Em+AYKNQBsViupo0rCJWHgqfzviFmJp0ezl saKmxaAKY7eB9i0zJWIsrwYZj3+572anaFNRFmivSHNhr7B7kwqHQ/SR6YUzAqVK3U INg7BuL29kvlGTCHH89INEn7QbG1tNYppTtDFfwhJZJgFfxtmZTv2K9ceOvoDbDD47 FZtYE4i/ItPTYXa6UvaEYQodjL5Ji+mGhsAKej21gfkLyIzaDNofuARsCMQJmPeCNf a2OqIkqeO1xX8eIroal6ARj65BVN+Skw+9gByP5W7uXN7Aii53ynw22Vg1MEsFcqy2 i+K433sdF3axg== Date: Sun, 21 Aug 2022 14:19:48 +0300 From: Leon Romanovsky To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: Re: [PATCH] RDMA: move from strlcpy with unused retval to strscpy Message-ID: References: <20220818210158.8179-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220818210158.8179-1-wsa+renesas@sang-engineering.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 18, 2022 at 11:01:58PM +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 > --- > include/rdma/rdma_vt.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I squashed this patch to your first one "IB: move from strlcpy with unused retval to strscpy". Thanks