Re: [PATCH] arch: x86: include: asm: need 'unsigned' type cast foratomic_clear_mask()
From: H. Peter Anvin
Date: Sat Jun 08 2013 - 03:32:32 EST
On 06/07/2013 11:30 PM, Chen Gang wrote:
>
> atomic_set_mask() has already have 'unsigned' type case, and
> atomic_clear_mask() is the pair of atomic_set_mask().
>
> So it also need 'unsigned' type case.
>
Pray tell, in what situation does this matter? The only reason I can
think of is if "mask" is actually a long...
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/