]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: Use max() instead of doing it manually
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sat, 25 Dec 2021 17:12:41 +0000 (01:12 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 9 Jan 2022 22:30:13 +0000 (23:30 +0100)
commit2b773be6ca8017ce287a2c007abb7d76e5802baf
tree8c0dba7bb42b48cec918d1db0fdf6e872939c1c9
parent5e1a13deb0ca7b0b65e9971191800b7a70c83cfd
netfilter: conntrack: Use max() instead of doing it manually

Fix following coccicheck warning:

./include/net/netfilter/nf_conntrack.h:282:16-17: WARNING opportunity
for max().

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack.h