]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add missing annotation for llc_seq_start()
authorJules Irenge <jbi.octave@gmail.com>
Sun, 23 Feb 2020 23:16:48 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 21:26:49 +0000 (13:26 -0800)
commitab94016b7af48cb8e1e1c8709d9fa963b5888f2c
tree6082c5981c1df70c0fe290bfa59456b8d665099b
parent875fcb54a94bbb10614b5252f89a333128db8a70
net: Add missing annotation for llc_seq_start()

Sparse reports a warning at llc_seq_start()

warning: context imbalance in llc_seq_start() - wrong count at exit
The root cause is the msiing annotation at llc_seq_start()

Add the missing __acquires(RCU) annotation

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_proc.c