diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-11 21:46:41 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-10-02 01:58:40 +0100 |
commit | 0a6e5008a9df678b48f8d4e57601aa4270df6c14 (patch) | |
tree | 42b1fdd0cee106cbbca7ba0fa20503255a90b800 /drivers/net/ethernet/sfc/selftest.c | |
parent | 9724a8504c875145f5a513bb8eca50671cee23b4 (diff) | |
download | linux-0a6e5008a9df678b48f8d4e57601aa4270df6c14.tar.gz linux-0a6e5008a9df678b48f8d4e57601aa4270df6c14.tar.bz2 linux-0a6e5008a9df678b48f8d4e57601aa4270df6c14.zip |
sfc: Fix MCDI structure field lookup
The least significant bit number (LBN) of a field within an MCDI
structure is counted from the start of the structure, not the
containing dword. In MCDI_ARRAY_FIELD() we need to mask it rather
than using the usual EFX_DWORD_FIELD() macro.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/selftest.c')
0 files changed, 0 insertions, 0 deletions