Messages in this thread | | | Date | Wed, 12 May 2010 18:25:10 +0900 | From | Takuya Yoshikawa <> | Subject | Re: [RFC][PATCH 7/12 not tested yet] PPC: introduce __set_bit() like function for bitmaps in user space |
| |
>> >> +static inline int set_bit_user_non_atomic(int nr, void __user *addr) >> +{ >> + u8 __user *p; >> + u8 val; >> + >> + p = (u8 __user *)((unsigned long)addr + nr / BITS_PER_BYTE); >> > > Does C do the + or the / first? Either way, I'd like to see brackets here :)
OK, I'll change like that! I like brackets style too :)
> > > Alex >
| |