scsi: smartpqi: Convert snprintf() to scnprintf()
authorKevin Barnett <kevin.barnett@microchip.com>
Thu, 11 Mar 2021 20:17:13 +0000 (14:17 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Apr 2021 03:02:32 +0000 (23:02 -0400)
commita425625277a10dcb039ac05b90202d4f54f824ad
tree7c023ea492e6cd0706c943822a40bfb6a7b1ee9e
parent3268b8a8cf77dbc1f84e9a328069144506636c87
scsi: smartpqi: Convert snprintf() to scnprintf()

The entire Linux kernel has been slowly migrating from snprintf() to
scnprintf(), so we are doing our part. This article explains the rationale
for this change:

   https: //lwn.net/Articles/69419/

Link: https://lore.kernel.org/r/161549383357.25025.12363435617789964291.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c