Messages in this thread | | | From | Avri Altman <> | Subject | RE: [PATCH v1 1/2] scsi: ufs: Replace sprintf and snprintf with sysfs_emit | Date | Thu, 24 Dec 2020 09:35:07 +0000 |
| |
> > From: Bean Huo <beanhuo@micron.com> > > 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. > > Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Signed-off-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Avri Altman <avri.altman@wdc.com>
| |