aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2019-06-28 19:50:11 +0800
committerDavid S. Miller <davem@davemloft.net>2019-06-28 09:39:49 -0700
commit18d219b783da61a6cc77581f55fc4af2fa16bc36 (patch)
tree0168134760c6564c7bc9b04751cbc4d15868765d /tools/perf/scripts/python/export-to-postgresql.py
parentnet: hns3: add some error checking in hclge_tm module (diff)
downloadwireguard-linux-18d219b783da61a6cc77581f55fc4af2fa16bc36.tar.xz
wireguard-linux-18d219b783da61a6cc77581f55fc4af2fa16bc36.zip
net: hns3: fix a -Wformat-nonliteral compile warning
When setting -Wformat=2, there is a compiler warning like this: hclge_main.c:xxx:x: warning: format not a string literal and no format arguments [-Wformat-nonliteral] strs[i].desc); ^~~~ This patch adds missing format parameter "%s" to snprintf() to fix it. Fixes: 46a3df9f9718 ("Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions