diff options
author | Mintz, Yuval | 2017-06-24 14:37:00 +0200 |
---|---|---|
committer | David S. Miller | 2017-06-25 17:36:56 +0200 |
commit | d0c32a16235aeacd32c9de6ff90f9219614d7e4e (patch) | |
tree | 80add3385fe6533da4b74db9d350319480c52336 /drivers/sbus/char/flash.c | |
parent | Merge branch 'bnxt_en-fixes' (diff) | |
download | kernel-qcow2-linux-d0c32a16235aeacd32c9de6ff90f9219614d7e4e.tar.gz kernel-qcow2-linux-d0c32a16235aeacd32c9de6ff90f9219614d7e4e.tar.xz kernel-qcow2-linux-d0c32a16235aeacd32c9de6ff90f9219614d7e4e.zip |
bnx2x: Don't log mc removal needlessly
When mc configuration changes bnx2x_config_mcast() can return 0 for
success, negative for failure and positive for benign reason preventing
its immediate work, e.g., when the command awaits the completion of
a previously sent command.
When removing all configured macs on a 578xx adapter, if a positive
value would be returned driver would errneously log it as an error.
Fixes: c7b7b483ccc9 ("bnx2x: Don't flush multicast MACs")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/flash.c')
0 files changed, 0 insertions, 0 deletions