sfc: Fix maximum array sizes for various MCDI commands
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 19 Sep 2012 01:46:37 +0000 (02:46 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 19 Sep 2012 01:54:11 +0000 (02:54 +0100)
The maximum array sizes have been calculated on the basis of a maximum
SDU size of 255 bytes, whereas the actual maximum is 252 bytes.
Constructing a larger SDU will result in a BUG_ON in efx_mcdi_copyin.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found