]> 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)
commitb0ae438f8e2cb819aed15d4598a8c34f1481519a
treea894e4154d3532175bf34d93980d3579ecea3773
parent1115a04dca4dc763e7afa8cd55f930f1bbc6aa2f
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