Re: [PATCH 3/4] iio: magnetometer: ak8975: change 'u8*' to 'u8 *' in cast

From: Joshua Crofts

Date: Tue Apr 21 2026 - 02:27:49 EST


On Mon, 20 Apr 2026 at 19:23, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
> Strange no warnings on the open-ended function call on the first line
> (trailing "("). That said, I would rather see the result as
>
> ret = i2c_smbus_read_i2c_block_data_or_emulated(client,
> def->data_regs[index],
> sizeof(rval),
> (u8 *)&rval);

Checkpatch seems to miss quite a few issues. Will fix.

--
Kind regards

CJD