From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 6EF7D4210D5 for ; Thu, 22 Sep 2022 03:45:27 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id f23so7395232plr.6 for ; Wed, 21 Sep 2022 18:45:27 -0700 (PDT) From: Jens Axboe To: Wolfram Sang , linux-kernel@vger.kernel.org In-Reply-To: <20220818205958.6552-1-wsa+renesas@sang-engineering.com> References: <20220818205958.6552-1-wsa+renesas@sang-engineering.com> Message-Id: <166381112502.39678.10835166660229447824.b4-ty@kernel.dk> Date: Wed, 21 Sep 2022 19:45:25 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: Minchan Kim , Geoff Levand , Michael Ellerman , Philipp Reisner , Nicholas Piggin , linux-block@vger.kernel.org, Sergey Senozhatsky , Christophe Leroy , Jim Paris , Lars Ellenberg , linuxppc-dev@lists.ozlabs.org, Nitin Gupta , drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH] block: move from strlcpy with unused retval to strscpy List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 18 Aug 2022 22:59:57 +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. > > Applied, thanks! [1/1] block: move from strlcpy with unused retval to strscpy commit: e55e1b4831563e5766f88fa821f5bfac0d6c298c Best regards, -- Jens Axboe