diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-13 11:30:05 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-18 22:38:34 -0400 |
commit | 30e99f05f8b19b8274f3666afb70c9cc686ec65c (patch) | |
tree | 8e7f695c66a64337922b4d701248bc6bc8b04d04 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c4da1205752dfda13571112dd964436e4cc8f348 (diff) |
scsi: mpi3mr: Use scnprintf() instead of snprintf()
I intended to move from snprintf() to scnprintf() in the previous patch but
I messed up and did not do that. The result of my bug is that it this
function could trigger a WARN() if the buffer is too large.
Link: https://lore.kernel.org/r/20211013083005.GA8592@kili
Fixes: 76a4f7cc5973 ("scsi: mpi3mr: Clean up mpi3mr_print_ioc_info()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions