summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorDexuan Cui2018-10-18 07:09:32 +0200
committerGreg Kroah-Hartman2018-11-11 21:58:27 +0100
commit4fcba7802c3e15a6e56e255871d6c72f829b9dd8 (patch)
treed12b055179213bb74dc40efaadc757943141f49b /tools/Makefile
parentDrivers: hv: kvp: Use %u to print U32 (diff)
downloadkernel-qcow2-linux-4fcba7802c3e15a6e56e255871d6c72f829b9dd8.tar.gz
kernel-qcow2-linux-4fcba7802c3e15a6e56e255871d6c72f829b9dd8.tar.xz
kernel-qcow2-linux-4fcba7802c3e15a6e56e255871d6c72f829b9dd8.zip
Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1
The patch fixes: hv_kvp_daemon.c: In function 'kvp_set_ip_info': hv_kvp_daemon.c:1305:2: note: 'snprintf' output between 41 and 4136 bytes into a destination of size 4096 The "(unsigned int)str_len" is to avoid: hv_kvp_daemon.c:1309:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] Signed-off-by: Dexuan Cui <decui@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/Makefile')
0 files changed, 0 insertions, 0 deletions