mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00
![]() GCC was complaining about the new label:
mptcp_inq.c:79:2: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
79 | int err = getaddrinfo(node, service, hints, res);
| ^
mptcp_sockopt.c:166:2: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
166 | int err = getaddrinfo(node, service, hints, res);
| ^
Simply declare 'err' before the label to avoid this warning.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
config | ||
diag.sh | ||
Makefile | ||
mptcp_connect_checksum.sh | ||
mptcp_connect_mmap.sh | ||
mptcp_connect_sendfile.sh | ||
mptcp_connect.c | ||
mptcp_connect.sh | ||
mptcp_diag.c | ||
mptcp_inq.c | ||
mptcp_join.sh | ||
mptcp_lib.sh | ||
mptcp_sockopt.c | ||
mptcp_sockopt.sh | ||
pm_netlink.sh | ||
pm_nl_ctl.c | ||
settings | ||
simult_flows.sh | ||
userspace_pm.sh |