On Wed, Dec 07, 2016 at 05:46:09PM +0530, Atul Raj wrote:
> Instead of using:
> if (cond) {
>    WARN_ON(1);
>    do_stuff();
> }
> 
> Use a better pattern with WARN_ON() placed in if condition:
> 
> if (WARN_ON(cond))
>    do_stuff();

Why?  What does this help with?

And why are you sending patches that are different, yet have identical
subject lines?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to