From: Jiri Pirko <j...@mellanox.com> To be aligned with upcoming formatting restrictions, replace spaces in dpipe filed names to underscores.
Signed-off-by: Jiri Pirko <j...@mellanox.com> --- v2->v3: - new patch --- net/core/devlink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/devlink.c b/net/core/devlink.c index 97e9a2246929..45b6a9a964f6 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -33,7 +33,7 @@ static struct devlink_dpipe_field devlink_dpipe_fields_ethernet[] = { { - .name = "destination mac", + .name = "destination_mac", .id = DEVLINK_DPIPE_FIELD_ETHERNET_DST_MAC, .bitwidth = 48, }, @@ -50,7 +50,7 @@ EXPORT_SYMBOL(devlink_dpipe_header_ethernet); static struct devlink_dpipe_field devlink_dpipe_fields_ipv4[] = { { - .name = "destination ip", + .name = "destination_ip", .id = DEVLINK_DPIPE_FIELD_IPV4_DST_IP, .bitwidth = 32, }, @@ -67,7 +67,7 @@ EXPORT_SYMBOL(devlink_dpipe_header_ipv4); static struct devlink_dpipe_field devlink_dpipe_fields_ipv6[] = { { - .name = "destination ip", + .name = "destination_ip", .id = DEVLINK_DPIPE_FIELD_IPV6_DST_IP, .bitwidth = 128, }, -- 2.21.0