commit | 6d9b5dcd29a50cec8445c66fc8055476f8e2d057 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Mon Jun 29 14:32:46 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 29 17:37:48 2020 -0700 |
tree | 45930d5563b51a4e45efbd22b83328dd3cd20ab5 | |
parent | 0dc95084c30d6323f622f87f7d786f6e69ca118d [diff] |
sfc: determine flag word automatically in efx_has_cap() Now that we have an _OFST definition for each individual flag bit, callers of efx_has_cap() don't need to specify which flag word it's in; we can just use the flag name directly in MCDI_CAPABILITY_OFST. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>