diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-12 21:56:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-12 21:56:11 -0800 |
commit | 23d30f027d1e8ad3bcd6192613122ce925947563 (patch) | |
tree | 3de1d9ed2940e68a52c6933ec73145b44a0f34b9 /drivers/net/sfc/spi.h | |
parent | a17102b1ba847ca31d9151b877fbf9a38a39a8bb (diff) |
sfc: Change SPI lengths to type size_t
Based on a patch by Andrew Morton.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/spi.h')
-rw-r--r-- | drivers/net/sfc/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/spi.h b/drivers/net/sfc/spi.h index c4aca132348..38e22ff4d7a 100644 --- a/drivers/net/sfc/spi.h +++ b/drivers/net/sfc/spi.h @@ -68,7 +68,7 @@ struct efx_spi_device { }; int falcon_spi_cmd(const struct efx_spi_device *spi, unsigned int command, - int address, const void* in, void *out, unsigned int len); + int address, const void* in, void *out, size_t len); int falcon_spi_fast_wait(const struct efx_spi_device *spi); int falcon_spi_read(const struct efx_spi_device *spi, loff_t start, size_t len, size_t *retlen, u8 *buffer); |