lkml.org 
[lkml]   [2009]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] wireless: wl12xx, fix lock imbalance
    From
    Date
    On Mon, 2009-07-13 at 23:44 +0200, Jiri Slaby wrote:

    > > I've had local hacks
    > > many times to make sparse aware of mutexes, is there a reason they are
    > > not annotated with __acquire(s)/__release(s) like spinlocks etc.?
    >
    > Mutexes are often locked/unlocked interprocedural which I think sparse
    > can't do much about.

    Well, you annotate those functions too, of course.

    johannes
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2009-07-13 23:53    [W:0.030 / U:63.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site