Annotate the trivial unconditional lock/unlock functions on SMP.
This does _not_ handle the conditional ones (lock_kernel and the trylock variants), so there will be a fair number of context error warnings with this. However, the warnings are disabled by default in sparse - you have to use "-Wcontext" to see them.
Showing
Please register or sign in to comment