On Thu, Oct 05, 2023 at 08:14:55PM +0100, Ricardo Lopes wrote: > Avoid read overflows and other misbehavior due to missing termination. > There aren't any read overflows in the current code. > Reported by checkpatch: > > WARNING: Prefer strscpy, strscpy_pad, or __nonstring over strncpy But making checkpatch happy is good and the patch is fine. Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> regards, dan carpenter