]> git.droids-corp.org - dpdk.git/commit
net/hns3: mark unchecked return of snprintf
authorHuisong Li <lihuisong@huawei.com>
Sat, 6 Nov 2021 01:43:05 +0000 (09:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Nov 2021 14:59:14 +0000 (15:59 +0100)
commitf2d91cfbb5656ccc822e3754d78b125011679d4d
tree2a7218a65569dc0314c48d4fbc8c8438a15dfd72
parente6a27020e61a37959a267b880e67e66b4b72ffe7
net/hns3: mark unchecked return of snprintf

Fixing the return value of the function to clear static warning.

Fixes: 1181500b2fc5 ("net/hns3: adjust MAC address logging")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_common.c