projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d26727
)
net/hsr: fix a warning message
author
Dan Carpenter
<dan.carpenter@oracle.com>
Sat, 21 Nov 2015 10:34:12 +0000
(13:34 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 Nov 2015 19:56:15 +0000
(14:56 -0500)
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 <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c
patch
|
blob
|
blame
|
history
diff --git
a/net/hsr/hsr_device.c
b/net/hsr/hsr_device.c
index 35a9788bb3ae734d8e5b2f5199901a6c47f7a587..c7d1adca30d891b183b0832712e0d57aa1f33201 100644
(file)
--- a/
net/hsr/hsr_device.c
+++ b/
net/hsr/hsr_device.c
@@
-312,7
+312,7
@@
static void send_hsr_supervision_frame(struct hsr_port *master, u8 type)
return;
out:
- WARN_ON
_ONCE(
"HSR: Could not send supervision frame\n");
+ WARN_ON
CE(1,
"HSR: Could not send supervision frame\n");
kfree_skb(skb);
}