summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2020-01-20 20:49:43 +0800
committerDavid S. Miller <davem@davemloft.net>2020-01-21 10:48:17 +0100
commit49e211c0e357d8c5ccdc3c6c5fb8f94ab85d037f (patch)
tree607cf2d8871be593e4f8122170d708945ac3e72e /tools/perf/scripts/python/sctop.py
parentad063075d406dd04d2d9bc1005161a5a08fb38c5 (diff)
net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read
The return value of snprintf may be greater than the size of HNS3_DBG_READ_LEN, use scnprintf instead in hns3_dbg_cmd_read. Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions