Skip to content
Commit 332b4b2a authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Martin K. Petersen
Browse files

scsi: mptfusion: Use snprintf() instead of open coded divisions



Numbers up to 100 snprintf() prints without using a division.  Besides
that the code looks more readable.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 61dfb8a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment