Re: [PATCH] staging: octeon: convert all uses of strlcpy to strscpy in ethernet-mdio.c
From: Greg KH
Date: Sun Feb 07 2021 - 09:56:06 EST
On Sun, Feb 07, 2021 at 02:48:04PM +0000, Phillip Potter wrote:
> Convert three calls to strlcpy inside the cvm_oct_get_drvinfo function
> to strscpy calls. Fixes a style warning.
Is it really safe to do this type of conversion here? If so, you need
to provide evidence of it in the changelog, otherwise we could just do a
search/replace across the whole kernel and be done with it :)
thanks,
greg k-h