Re: [tip:core/urgent] WARN_ON_SMP(): Allow use in if() statements on UP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:core/urgent] WARN_ON_SMP(): Allow use in if() statements on UP
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Fri, 25 Mar 2011 14:19:23 -0400
- Cc: mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dvhart@xxxxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, srostedt@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, laijs@xxxxxxxxxxxxxx, mingo@xxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <1301076981.14261.197.camel@xxxxxxxxxxxxxxxxxxx>
On Fri, 2011-03-25 at 14:16 -0400, Steven Rostedt wrote:
> Also, a quick test shows that
>
> 0;
>
> gives the warning:
>
> "warning: statement with no effect"
Would you like me to add a comment that states:
/*
* Use ({0;}) as just "0" will cause gcc to output:
* warning: statement with no effect
*/
-- Steve
--
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]