]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: use data space for command opcodes
authorAlex Elder <elder@linaro.org>
Sun, 22 May 2022 00:32:23 +0000 (19:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 19:46:12 +0000 (20:46 +0100)
commit2a2c7c6f485198ec35e19cbc8f4306be6b9ca3e5
treea894e4154d3532175bf34d93980d3579ecea3773
parent49d594ced0ae28548e07f2b10fa25d7755ea5af2
net: ipa: use data space for command opcodes

The 64-bit data field in a transaction is not used for commands.
And the opcode array is *only* used for commands.  They're
(currently) the same size; save a little space in the transaction
structure by enclosing the two fields in a union.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi_trans.h