summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-30 16:51:14 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-30 16:51:14 -0800
commita4b13f2f90699df3585504798e20419535579a87 (patch)
tree0cd0899b4b9284c482255670f2c381fce1f6b4f0 /scripts
parent434a9cc6cfb1dd0ab2e42066552baf31dfad5798 (diff)
Lock-annotate some kernel functions as an example of how it works.
In particular, a function that is called with a lock held, and releases it only to re-acquire it needs to be annotated as such, since otherwise sparse will complain about an unexpected unlock, even though "globally" the lock is constant over the call.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions