sfc: Use consistent types for filter IDs, indices and search depths
Filter IDs are u32 (but never very large) so an ID/error return value should have type s32. Filter indices and search depths are never negative, so should have type unsigned int. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
b1f9284b4e
commit
3532650f7c
@@ -61,7 +61,7 @@ extern void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue);
|
||||
extern int efx_probe_filters(struct efx_nic *efx);
|
||||
extern void efx_restore_filters(struct efx_nic *efx);
|
||||
extern void efx_remove_filters(struct efx_nic *efx);
|
||||
extern int efx_filter_insert_filter(struct efx_nic *efx,
|
||||
extern s32 efx_filter_insert_filter(struct efx_nic *efx,
|
||||
struct efx_filter_spec *spec,
|
||||
bool replace);
|
||||
extern int efx_filter_remove_filter(struct efx_nic *efx,
|
||||
|
Reference in New Issue
Block a user