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

From: Martin K. Petersen
Date: Thu Jan 07 2021 - 22:46:07 EST



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