Re: [PATCH v3] i2c: i2c-qcom-geni: Parse Error correctly in i2c GSI mode

From: Andi Shyti
Date: Tue Mar 12 2024 - 06:50:09 EST


Hi Mukesh,

> + status = FIELD_GET(I2C_DMA_TX_IRQ_MASK, i2c_res->status);

This fails here:

drivers/i2c/busses/i2c-qcom-geni.c: In function 'i2c_gpi_cb_result':
drivers/i2c/busses/i2c-qcom-geni.c:493:18: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
493 | status = FIELD_GET(I2C_DMA_TX_IRQ_MASK, i2c_res->status);
| ^~~~~~~~~
cc1: all warnings being treated as errors

I will remove this patch from the i2c/i2c-host and we will need
to wait for the next merge window to get this through.

Please submit v4 with the Cc list recommended by Wolfram.

Thanks,
Andi