[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150601.155838.2219594213274495927.davem@davemloft.net>
Date: Mon, 01 Jun 2015 15:58:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roopa@...ulusnetworks.com
Cc: ebiederm@...ssion.com, rshearma@...cade.com,
netdev@...r.kernel.org, vivek@...ulusnetworks.com
Subject: Re: [PATCH net v2 2/2] mpls: fix mpls route deletes to not check
for route scope
From: Roopa Prabhu <roopa@...ulusnetworks.com>
Date: Wed, 27 May 2015 11:37:05 -0700
> - if (rtm->rtm_scope != RT_SCOPE_UNIVERSE)
> - goto errout;
> + if (nlh->nlmsg_type != RTM_DELROUTE &&
> + rtm->rtm_scope != RT_SCOPE_UNIVERSE)
> + goto errout;
> +
This is not indented correctly.
When a conditional spans multiple lines, two things must happen:
1) Each line must end with an operator rather than begin with one.
2) Each line starting with the second must start exactly at the
first column after the openning parenthesis of the conditional.
You must use the appropriate number of TAB then SPACE characters
necessary to achieve this.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists