Re: [patch] net/hsr: fix a warning message

2015-11-23 Thread David Miller
From: Dan Carpenter Date: Sat, 21 Nov 2015 13:34:12 +0300 > WARN_ON_ONCE() takes a condition, it doesn't take an error message. I > have converted this to WARN() instead. > > Signed-off-by: Dan Carpenter Applied, thanks Dan. -- To unsubscribe from this list: send the line "unsubscribe netdev"

[patch] net/hsr: fix a warning message

2015-11-21 Thread Dan Carpenter
WARN_ON_ONCE() takes a condition, it doesn't take an error message. I have converted this to WARN() instead. Signed-off-by: Dan Carpenter diff --git a/net/hsr/hsr_device.c b/net/hsr/hsr_device.c index 35a9788..c7d1adc 100644 --- a/net/hsr/hsr_device.c +++ b/net/hsr/hsr_device.c @@ -312,7 +312,7