diff options
| author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-03 18:37:01 +0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-25 02:54:42 +0400 |
| commit | 31b760202a0911384fa07796df9d1905e9e89a7f (patch) | |
| tree | 77f5a205930f66de8d7b43d69e06541485961c77 /include/linux | |
| parent | 13e9ab11430c4bdc4b6bb97e3d3821ebdc043712 (diff) | |
| download | linux-31b760202a0911384fa07796df9d1905e9e89a7f.tar.xz | |
sfc: Fix type of FALCON_SPI_MAX_LEN
FALCON_SPI_MAX_LEN has type size_t while other SPI lengths have type
unsigned int. This results in warnings from min() on 64-bit
architectures where they are different. Add a cast to make it match.
From: Steve Hodgson <shodgson@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
