diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-14 17:31:33 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-08-21 16:35:26 +0100 |
commit | c5bb0e9891ba1f7c871adc09d9ef727e1c0c1c1e (patch) | |
tree | 62bf62dbc591718aade11df087dbdb9bc3862b85 /drivers/net/ethernet/allwinner | |
parent | d0c2ee99e54c0fd76938236e863ad7d3992f044f (diff) | |
download | op-kernel-dev-c5bb0e9891ba1f7c871adc09d9ef727e1c0c1c1e.zip op-kernel-dev-c5bb0e9891ba1f7c871adc09d9ef727e1c0c1c1e.tar.gz |
sfc: Use proper macros to declare and access MCDI arrays
A few functions are using heap buffers; change them to use stack
buffers as we really don't need to resort to the heap for a 252
byte buffer in process context.
MC_CMD_MEMCPY is quite weird in that it can use inline data placed in
the request buffer after the array of records. Thus there are two
variable-length arrays and we can't use the normal accessors for
the second. So we have to use _MCDI_PTR() in efx_sriov_memcpy().
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/allwinner')
0 files changed, 0 insertions, 0 deletions