Skip to content
Commit 576eda8b authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Fix maximum array sizes for various MCDI commands



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: default avatarBen Hutchings <bhutchings@solarflare.com>
parent c3cba721
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment