Commit 724e97d9 authored by Murali Karicheri's avatar Murali Karicheri Committed by Liu Jian
Browse files

net: hsr: fix placement of logical operator in a multi-line statement

stable inclusion
from stable-v4.19.311
commit 9706929ab421a6f68ed72fc0e6371e4fca8e698a
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9HJXK
CVE: CVE-2024-26863

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9706929ab421a6f68ed72fc0e6371e4fca8e698a



---------------------------

[ Upstream commit 05947783 ]

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: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: ddbec99f5857 ("hsr: Fix uninit-value access in hsr_get_node()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
parent 28b2cacc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment