Re: [PATCH net-next v4 03/12] net: ethernet: oa_tc6: implement register read operation

From: Andrew Lunn
Date: Tue Apr 23 2024 - 19:17:30 EST


> +static int oa_tc6_check_ctrl_read_reply(struct oa_tc6 *tc6, u8 size)
> +{
> + u32 *tx_buf = tc6->spi_ctrl_tx_buf;
> + u32 *rx_buf = tc6->spi_ctrl_rx_buf + OA_TC6_CTRL_IGNORED_SIZE;

Reverse christmas tree. Those two need swapping around.

Andrew