commit | 332b4b2a6f380e07ccdd72da7f42f11f6b333784 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jan 15 19:05:58 2018 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 17 01:12:20 2018 -0500 |
tree | 9c40cdcf1d4d1416404feff94494253012dcf6bf | |
parent | 61dfb8a5fb7e93e692856026fa4c778a27f28984 [diff] |
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>