> -----Original Message----- > From: kernelnewbies-bounce@xxxxxxxxxxxx > [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Greg KH > Sent: Sunday, January 03, 2010 1:27 PM > To: Shawn > Cc: kernelnewbies@xxxxxxxxxxxx > Subject: Re: question about __v annotation > > > On Sat, Jan 02, 2010 at 09:10:08PM +0800, Shawn wrote: > > hello guys, > > I got a newbie confused when I was looking into the source code of > > s3c2440's RTC driver.I dont know what is __v excatly > means.anyone can > > tell?thanks anyway! > > > > #define readb(c) ({ __u8 __v = __raw_readb(__mem_pci(c)); __v; }) > > __v is an variable that the macro creates and then returns > the value of. > > Don't code like this, it's horrible :) > Could you be more specific with what you find wrong with this. The reason I ask is there is code like this all over the kernel. Bruce -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ