On Wed, 6 Jan 2021 22:15:41 +0100, Bean Huo wrote:
> sprintf and snprintf may cause output defect in sysfs content, it is
> better to use new added sysfs_emit function which knows the size of the
> temporary buffer.
Applied to 5.12/scsi-queue, thanks!
[1/1] scsi: ufs: Replace sprintf and
Bean,
> sprintf and snprintf may cause output defect in sysfs content, it is
> better to use new added sysfs_emit function which knows the size of
> the temporary buffer.
Applied to 5.12/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
On 2021-01-07 05:15, Bean Huo wrote:
From: Bean Huo
sprintf and snprintf may cause output defect in sysfs content, it is
better to use new added sysfs_emit function which knows the size of the
temporary buffer.
Reviewed-by: Can Guo
Reviewed-by: Avri Altman
Suggested-by: Greg
From: Bean Huo
sprintf and snprintf may cause output defect in sysfs content, it is
better to use new added sysfs_emit function which knows the size of the
temporary buffer.
Reviewed-by: Avri Altman
Suggested-by: Greg Kroah-Hartman
Signed-off-by: Bean Huo
---
Nothing changed in this patch,
4 matches
Mail list logo