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

Sparse reports a warning at nr_info_stop()
warning: context imbalance in nr_info_stop() - unexpected unlock
The root cause is the missing annotation at nr_info_stop()
Add the missing __releases(&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