Re: [PATCH] device: add dev_WARN_ONCE

From: Felipe Balbi
Date: Wed Mar 16 2011 - 11:54:07 EST



On Mar 16, 2011, at 4:39 PM, Greg KH wrote:

> 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?

it can definitely wait :-)

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