[RFC][PATCH 7/12 not tested yet] PPC: introduce __set_bit() like function for bitmaps in user space
Takuya Yoshikawa
yoshikawa.takuya at oss.ntt.co.jp
Wed May 12 19:25:10 EST 2010
>>
>> +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
>
More information about the Linuxppc-dev
mailing list