commit | 832dc9ed43da8eb2033d90b46c1041e1d6947907 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Tue Jul 21 15:09:31 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 21 22:21:31 2015 -0700 |
tree | 96d6f91d99258465e30a935ddb0fd0729f29cea8 | |
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>