summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx4/Makefile
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2019-08-19 17:44:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-10 12:32:17 +0300
commit5b443f8c4b6faafbd9a19a2af12edfb8099c3150 (patch)
tree3e728a96fb6aba4f93b48b1da29cf414c5648702 /drivers/infiniband/hw/mlx4/Makefile
parent761c2787b067768b52d2f29658a64018fe9ae7b0 (diff)
downloadlinux-5b443f8c4b6faafbd9a19a2af12edfb8099c3150.tar.xz
Tools: hv: kvp: eliminate 'may be used uninitialized' warning
[ Upstream commit 89eb4d8d25722a0a0194cf7fa47ba602e32a6da7 ] When building hv_kvp_daemon GCC-8.3 complains: hv_kvp_daemon.c: In function ‘kvp_get_ip_info.constprop’: hv_kvp_daemon.c:812:30: warning: ‘ip_buffer’ may be used uninitialized in this function [-Wmaybe-uninitialized] struct hv_kvp_ipaddr_value *ip_buffer; this seems to be a false positive: we only use ip_buffer when op == KVP_OP_GET_IP_INFO and it is only unset when op == KVP_OP_ENUMERATE. Silence the warning by initializing ip_buffer to NULL. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/Makefile')
0 files changed, 0 insertions, 0 deletions