Re: [PATCH] device: add dev_WARN_ONCE

From: Greg KH
Date: Wed Mar 16 2011 - 11:13:36 EST


On Wed, Mar 16, 2011 at 03:59:35PM +0200, Felipe Balbi wrote:
> it's quite useful to print the device name
> on the stack dump caused by WARN(), but
> there are other cases where we might want
> to use WARN_ONCE.
>
> Introduce a helper similar to dev_WARN() for
> that case too.
>
> Signed-off-by: Felipe Balbi <balbi@xxxxxx>

Do you have code that needs this for .39, or can it wait for .40?

thanks,

greg k-h
--
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/