[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <14452.1153923750@warthog.cambridge.redhat.com>
Date: Wed, 26 Jul 2006 15:22:30 +0100
From: David Howells <dhowells@...hat.com>
To: Josh Triplett <josht@...ibm.com>
Cc: linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>,
David Howells <dhowells@...hat.com>
Subject: Re: [PATCH] [afs] Add lock annotations to afs_proc_cell_servers_{start,stop}
Josh Triplett <josht@...ibm.com> wrote:
> afs_proc_cell_servers_start acquires a lock, and afs_proc_cell_servers_stop
> releases that lock. Add lock annotations to these two functions so that
> sparse can check callers for lock pairing, and so that sparse will not
> complain about these functions since they intentionally use locks in this
> manner.
Looks reasonable, though I'm surprised you can get this sort of checking to
work in sparse.
Acked-By: David Howells <dhowells@...hat.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists