[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGiJo8Tx8-hHMDxtEByZyP-E1J+K7jrHCEKuzhdchTm0E8iwXA@mail.gmail.com>
Date: Wed, 13 Nov 2024 23:55:32 -0800
From: Daniel Yang <danielyangkang@...il.com>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: "open list:BCACHEFS" <linux-bcachefs@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bcachefs: replace deprecated strncpy with strscpy
On Wed, Nov 13, 2024 at 6:21 PM Kent Overstreet
<kent.overstreet@...ux.dev> wrote:
> strncpy is correct here, we don't need the output to be nul terminated
If dest is not NULL terminated, then core API recommends using strtomem instead.
Powered by blists - more mailing lists