Re: [PATCH] device: add dev_WARN_ON and dev_WARN_ONCE

From: Felipe Balbi
Date: Wed Mar 16 2011 - 09:55:48 EST


On Wed, Mar 16, 2011 at 03:51:54PM +0200, Felipe Balbi wrote:
> +#define dev_WARN_ON(dev, condition, format, arg...) \
> + WARN_ON(condition, "Device: %s\n" format, \
> + dev_driver_string(dev), ## arg)

oops, I mis-used WARN_ON. Will fix and resend... just a sec.

--
balbi
--
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/