[PATCH 3/3] irq: add lock annotation to squelch a sparse warning

2013-07-06 Thread Ramkumar Ramachandra
__irq_put_desc_unlock() releases >lock, but being a static analyzer, sparse emits a warning: context imbalance in '__irq_put_desc_unlock' - unexpected unlock Help it by annotating the function with a __release. Do not annotate its counterpart which acquires the lock, __irq_get_desc_lock(),

[PATCH 3/3] irq: add lock annotation to squelch a sparse warning

2013-07-06 Thread Ramkumar Ramachandra
__irq_put_desc_unlock() releases desc-lock, but being a static analyzer, sparse emits a warning: context imbalance in '__irq_put_desc_unlock' - unexpected unlock Help it by annotating the function with a __release. Do not annotate its counterpart which acquires the lock,