diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-17 17:53:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-17 17:53:22 -0400 |
commit | b56269468483a0255a27126ebc2ae7e321638d7b (patch) | |
tree | 11666efc904d51458fc2f79629ef66fb179d449c /drivers/net/sfc/efx.h | |
parent | 9cbc94eabb0791906051bbfac024ef2c2be8e079 (diff) |
sfc: Don't use enums as a bitmask.
This fixes:
drivers/net/sfc/mcdi_mac.c: In function ‘efx_mcdi_set_mac’:
drivers/net/sfc/mcdi_mac.c:36:2: warning: case value ‘3’ not in enumerated type ‘enum efx_fc_type’
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.h')
-rw-r--r-- | drivers/net/sfc/efx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h index 3d83a1f74fef..b0d1209ea18d 100644 --- a/drivers/net/sfc/efx.h +++ b/drivers/net/sfc/efx.h | |||
@@ -142,6 +142,6 @@ static inline void efx_schedule_channel(struct efx_channel *channel) | |||
142 | 142 | ||
143 | extern void efx_link_status_changed(struct efx_nic *efx); | 143 | extern void efx_link_status_changed(struct efx_nic *efx); |
144 | extern void efx_link_set_advertising(struct efx_nic *efx, u32); | 144 | extern void efx_link_set_advertising(struct efx_nic *efx, u32); |
145 | extern void efx_link_set_wanted_fc(struct efx_nic *efx, enum efx_fc_type); | 145 | extern void efx_link_set_wanted_fc(struct efx_nic *efx, u8); |
146 | 146 | ||
147 | #endif /* EFX_EFX_H */ | 147 | #endif /* EFX_EFX_H */ |