aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorJules Irenge <[email protected]>2020-04-13 22:42:40 +0100
committerJan Kara <[email protected]>2020-04-15 11:44:43 +0200
commit00e0afb658bf180a521ee693df204d9bccc6e58a (patch)
tree335981b48f1e43f126e59663144b5064baf2219c /lib/mpi/mpi-internal.h
parent8632e9b5645bbc2331d21d892b0d6961c1a08429 (diff)
fsnotify: Add missing annotation for fsnotify_finish_user_wait() and for fsnotify_prepare_user_wait()
Sparse reports warnings at fsnotify_prepare_user_wait() and at fsnotify_finish_user_wait() warning: context imbalance in fsnotify_finish_user_wait() - wrong count at exit warning: context imbalance in fsnotify_prepare_user_wait() - unexpected unlock The root cause is the missing annotation at fsnotify_finish_user_wait() and at fsnotify_prepare_user_wait() fsnotify_prepare_user_wait() has an extra annotation __release() that only tell Sparse and not GCC to shutdown the warning Add the missing __acquires(&fsnotify_mark_srcu) annotation Add the missing __releases(&fsnotify_mark_srcu) annotation Add the __release(&fsnotify_mark_srcu) annotation. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jules Irenge <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions