On Mon, May 15, 2023 at 7:21 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote: > > On Mon, 2023-05-15 at 02:40 +0000, Azeem Shaikh wrote: > > Instead of open coding a __dynamic_array(), use the __string() and > > __assign_str() helper macros that exist for this kind of use case. > > > > Part of an effort to remove deprecated strlcpy() [1] completely from the > > kernel[2]. > > > > [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy > > [2] https://github.com/KSPP/linux/issues/89 > > > > Fixes: 3c92fba557c6 ("NFSD: Enhance the nfsd_cb_setup tracepoint") > > Signed-off-by: Azeem Shaikh <azeemshaikh38@xxxxxxxxx> > > --- v1 and v2 links for posterity. v1: https://lore.kernel.org/all/20230510220952.3507366-1-azeemshaikh38@xxxxxxxxx/ v2: https://lore.kernel.org/all/20230512145356.396567-1-azeemshaikh38@xxxxxxxxx/ > Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> Thanks!