I think the last __v; inside the macro is to avoid compiler warning or error that the unsigned 8-bit variable __v is not being used inside the scope defined by the macro.
On Sat, Jan 2, 2010 at 8:10 AM, Shawn <[email protected]> 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; }) > > -- > GNU powered it... > GPL protect it... > God blessing it... > > regards > HFG--Shawn the R0ck >
