Message ID | 6be08bc3c70b13306aeaee7f65163e9a349cb632.1583864759.git.pabeni@redhat.com |
---|---|
State | Accepted, archived |
Delegated to: | Matthieu Baerts |
Headers | show |
Series | Squash-to: "mptcp: add netlink based PM" | expand |
Hi Paolo, On 10/03/2020 19:26, Paolo Abeni wrote: > Remove typo in enum name. It looks like anonymous enum > is the most common choice, so drop the enum type name > completely. Thank you for the fix! - 0a826123ed5c: "squashed" in "mptcp: add netlink based PM" - 96df58122739..e6649bea4670: result Tests + export are in progress. Cheers, Matt
diff --git a/include/uapi/linux/mptcp.h b/include/uapi/linux/mptcp.h index d061c5a6ae05..dfd6674c39b0 100644 --- a/include/uapi/linux/mptcp.h +++ b/include/uapi/linux/mptcp.h @@ -40,7 +40,7 @@ enum { /* * ATTR types defined for MPTCP */ -enum mptcp_pm_attrs { +enum { MPTCP_PM_ATTR_UNSPEC, MPTCP_PM_ATTR_ADDR, /* nested address */ @@ -52,7 +52,7 @@ enum mptcp_pm_attrs { #define MPTCP_PM_ATTR_MAX (__MPTCP_PM_ATTR_MAX - 1) -enum mptcp_pm_addr_addrs { +enum { MPTCP_PM_ADDR_ATTR_UNSPEC, MPTCP_PM_ADDR_ATTR_FAMILY, /* u16 */
Remove typo in enum name. It looks like anonymous enum is the most common choice, so drop the enum type name completely. Reported-by: Christoph Paasch <cpaasch@apple.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> --- include/uapi/linux/mptcp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)