diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-13 18:14:23 -0500 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-15 19:25:08 -0500 |
commit | 5bbe2f4f64cc7f6da6390035dcfc42b14bd80484 (patch) | |
tree | af3ee827337184d756b41768bf48545438d8eb9f /drivers/net/ethernet/sfc/net_driver.h | |
parent | a606f4325dca6950996abbae452d33f2af095f39 (diff) |
sfc: Make buffer table indices and counts consistently unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r-- | drivers/net/ethernet/sfc/net_driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h index f52687741508..59c0583182a5 100644 --- a/drivers/net/ethernet/sfc/net_driver.h +++ b/drivers/net/ethernet/sfc/net_driver.h | |||
@@ -81,8 +81,8 @@ struct efx_special_buffer { | |||
81 | void *addr; | 81 | void *addr; |
82 | dma_addr_t dma_addr; | 82 | dma_addr_t dma_addr; |
83 | unsigned int len; | 83 | unsigned int len; |
84 | int index; | 84 | unsigned int index; |
85 | int entries; | 85 | unsigned int entries; |
86 | }; | 86 | }; |
87 | 87 | ||
88 | /** | 88 | /** |