Re: [PATCH v3] scsi: ufs: Replace sprintf and snprintf with sysfs_emit

From: Martin K. Petersen
Date: Wed Jan 13 2021 - 00:51:34 EST


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 snprintf with sysfs_emit
https://git.kernel.org/mkp/scsi/c/d9edeb8b4768

--
Martin K. Petersen Oracle Linux Engineering