Subject: Re: [patch iproute2 rfc 1/2] devlink: introduce support for showing port flavours

From: Stephen Hemminger <[email-masked]>
Date: Tue, 27 Mar 2018 08:28:54 -0700

On Fri, 23 Mar 2018 07:35:57 +0100
Jiri Pirko <[email-masked]> wrote:

> +static const char *port_flavour_name(uint16_t flavour)
> +{
> +	switch (flavour) {
> +	case DEVLINK_PORT_FLAVOUR_PHYSICAL: return "physical";
> +	case DEVLINK_PORT_FLAVOUR_PF_REP: return "pf_rep";
> +	case DEVLINK_PORT_FLAVOUR_VF_REP: return "vf_rep";
> +	default: return "<unknown flavour>";
> +	}
> +}
> +

need to break lines even in switch statement.