sfc: Use consistent types for filter IDs, indices and search depths
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 3 Jan 2012 12:05:27 +0000 (12:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2012 19:09:11 +0000 (14:09 -0500)
commit3532650f7c53e16c2c177521212b7d54e185a2bd
tree470ef7fa2bf0b47339f0d935c160608a9fbb3267
parentb1f9284b4e6e5f7a44d6af3e111b33e61b261f26
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>
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/filter.c