diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2019-04-05 20:31:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-07 04:32:21 +0300 |
commit | 059477830022e1886f55a9641702461c249fa864 (patch) | |
tree | fa5f7b1b6665aae2054e2624f178b0741582de7d /net/hsr/hsr_framereg.c | |
parent | 5fa9677803643f96f8eb76d2aff7966b26078187 (diff) | |
download | linux-059477830022e1886f55a9641702461c249fa864.tar.xz |
net: hsr: fix placement of logical operator in a multi-line statement
In a multi-line statement exceeding 80 characters, logical operator
should be at the end of a line instead of being at the start. This
is seen when ran checkpatch.pl -f on files under net/hsr. The change
is per suggestion from checkpatch.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_framereg.c')
-rw-r--r-- | net/hsr/hsr_framereg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c index 1929a8dfd292..1571ac101757 100644 --- a/net/hsr/hsr_framereg.c +++ b/net/hsr/hsr_framereg.c @@ -187,8 +187,8 @@ struct hsr_node *hsr_get_node(struct hsr_port *port, struct sk_buff *skb, /* Everyone may create a node entry, connected node to a HSR device. */ - if (ethhdr->h_proto == htons(ETH_P_PRP) - || ethhdr->h_proto == htons(ETH_P_HSR)) { + if (ethhdr->h_proto == htons(ETH_P_PRP) || + ethhdr->h_proto == htons(ETH_P_HSR)) { /* Use the existing sequence_nr from the tag as starting point * for filtering duplicate frames. */ |