Thanks Randy. Can you please explain it elaboraly. What I mean, is why this sparse static checker is used and is there any toll to use it ? Thanks and regards, Rasmit. > -----Original Message----- > From: Randy.Dunlap [mailto:rdunlap@xxxxxxxxxxxx] > Sent: Thursday, May 04, 2006 11:23 AM > To: Rasmit Ranjan (WT01 - Semiconductors & Consumer Electronics) > Cc: linux-kernel-digest@xxxxxxxxxxxxxxxxx; > linux-pm@xxxxxxxxxxxxxx; linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: [linux-pm] __releases and __acquires macros in compiler.h > > On Thu, 4 May 2006 11:13:20 +0530 rasmit.ranjan@xxxxxxxxx wrote: > > > Hi all, > > I came across two macros __releases and __acquires defined in > > compiler.h. > > Can anyone please tell me the exact use of these two macros. > > They are for the sparse static checker to count locks > released and acquired, to make sure that they are balanced. > > --- > ~Randy >