Re: [tip:core/urgent] WARN_ON_SMP(): Add comment to explain ({0;})

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2011 07:56 AM, richard -rw- weinberger wrote:
>>
>> What the heck is wrong with the idiomatic and non-gcc-extension-using:
>>
>>        ((void)0)
>>
>> ?
> 
> AFAIK you cannot use it within an if-statement.
> 

OK, fair enough.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux