projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf7378
)
hv_netvsc: hide warnings about uninitialized/missing rndis device
author
Vitaly Kuznetsov
<
[email protected]
>
Thu, 2 Nov 2017 10:35:31 +0000
(11:35 +0100)
committer
David S. Miller
<
[email protected]
>
Wed, 8 Nov 2017 01:28:54 +0000
(10:28 +0900)
Hyper-V hosts are known to send RNDIS messages even after we halt the
device in rndis_filter_halt_device(). Remove user visible messages
as they are not really useful.
Signed-off-by: Vitaly Kuznetsov <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/hyperv/rndis_filter.c
patch
|
blob
|
history
diff --git
a/drivers/net/hyperv/rndis_filter.c
b/drivers/net/hyperv/rndis_filter.c
index 0648eebda829cf14408b103b03913af48dab876d..8b1242b8d8ef98b199304827d2425a447f646f32 100644
(file)
--- a/
drivers/net/hyperv/rndis_filter.c
+++ b/
drivers/net/hyperv/rndis_filter.c
@@
-407,13
+407,13
@@
int rndis_filter_receive(struct net_device *ndev,
/* Make sure the rndis device state is initialized */
if (unlikely(!rndis_dev)) {
- netif_
err
(net_device_ctx, rx_err, ndev,
+ netif_
dbg
(net_device_ctx, rx_err, ndev,
"got rndis message but no rndis device!\n");
return NVSP_STAT_FAIL;
}
if (unlikely(rndis_dev->state == RNDIS_DEV_UNINITIALIZED)) {
- netif_
err
(net_device_ctx, rx_err, ndev,
+ netif_
dbg
(net_device_ctx, rx_err, ndev,
"got rndis message uninitialized\n");
return NVSP_STAT_FAIL;
}