mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
i3c: dw: make struct dw_i3c_cmd smaller
The dw_i3c_cmd is dynamically allocated, make it smaller. For example on 64bit platforms, we reduce the size from 48 bytes to 32 bytes. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260813044603.22425-1-jszhang@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
942e9a5b67
commit
9939e4cf59
|
|
@ -248,10 +248,10 @@ struct dw_i3c_cmd {
|
|||
u32 cmd_lo;
|
||||
u32 cmd_hi;
|
||||
u16 tx_len;
|
||||
const void *tx_buf;
|
||||
u16 rx_len;
|
||||
void *rx_buf;
|
||||
u8 error;
|
||||
const void *tx_buf;
|
||||
void *rx_buf;
|
||||
};
|
||||
|
||||
struct dw_i3c_xfer {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user