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

From: Parthiban.Veerasooran
Date: Fri Apr 26 2024 - 01:57:04 EST


Hi Andrew,

On 24/04/24 4:47 am, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
>> +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.
Ah ok, somehow I missed it. Will correct it in the next version.

Best regards,
Parthiban V
>
> Andrew
>