diff options
author | Daniel Pieczko <dpieczko@solarflare.com> | 2015-06-02 11:39:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-02 12:57:29 -0700 |
commit | 6dd4859b281700a163caec8ae7826c2558290127 (patch) | |
tree | 6a3ee1aaa9d15d246188886f6da3ac395cd7a31f /sound/usb/quirks.c | |
parent | 0fc95fca5a95170a3615557218d98b6dff52ad36 (diff) |
sfc: suppress ENOENT error messages from MC_CMD_MAC_STATS
MC_CMD_MAC_STATS can be called on a function before a
vadaptor has been created, as the kernel can call into this
through ndo_get_stats/ndo_get_stats64.
If MC_CMD_MAC_STATS is called before the DMA queues have been
setup, so that a vadaptor has not been created yet, firmware
will return ENOENT. This is expected, so suppress the MCDI
error message in this case.
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions