netrom: Add missing annotation for nr_info_start()
authorJules Irenge <jbi.octave@gmail.com>
Sun, 23 Feb 2020 23:16:49 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 21:26:49 +0000 (13:26 -0800)
commitd087f183787e43bb803e6f529cb97b0bf6743bea
treeed5ab17f754b2520f725ce657ce3ee4ea7c9fbac
parent8e0f8ccfb0d290eaac3db086c600f4522584c7f2
netrom: Add missing annotation for nr_info_start()

Sparse reports a warning at nr_info_start()
warning: context imbalance in nr_info_start() - wrong count at exit
The root cause is the missing annotation at nr_info_start()
Add the missing __acquires(&nr_list_lock)

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