Searched hist:"7 e94e46c16d060fe272b658ad5e7c2374eeec1bb" (Results 1 – 1 of 1) sorted by relevance
/linux/net/smc/ |
H A D | smc_llc.c | diff 7e94e46c16d060fe272b658ad5e7c2374eeec1bb Thu Oct 08 14:19:28 CEST 2020 Pujin Shi <shipujin.t@gmail.com> net: smc: fix missing brace warning for old compilers
For older versions of gcc, the array = {0}; will cause warnings:
net/smc/smc_llc.c: In function 'smc_llc_send_link_delete_all': net/smc/smc_llc.c:1317:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link delllc = {0}; ^ net/smc/smc_llc.c:1317:9: warning: (near initialization for 'delllc.hd') [-Wmissing-braces]
1 warnings generated
Fixes: f3811fd7bc97 ("net/smc: send DELETE_LINK, ALL message and wait for send to complete") Signed-off-by: Pujin Shi <shipujin.t@gmail.com> Acked-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|