diff options
author | Edward Cree <ecree@solarflare.com> | 2015-07-21 15:09:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 22:21:31 -0700 |
commit | 832dc9ed43da8eb2033d90b46c1041e1d6947907 (patch) | |
tree | 96d6f91d99258465e30a935ddb0fd0729f29cea8 /drivers/net/wireless/libertas | |
parent | 46e612b0fcefb7a3381933135f386523dedb4159 (diff) |
sfc: cope with ENOSYS from efx_mcdi_get_workarounds()
GET_WORKAROUNDS was only introduced in May 2014, not all firmware
will have it. So call sites need to handle ENOSYS.
In this case we're probing the bug26807 workaround, which is not
implemented in any firmware that doesn't have GET_WORKAROUNDS.
So interpret ENOSYS as 'false'.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas')
0 files changed, 0 insertions, 0 deletions