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

Joshua Crofts
2026-04-21T06:22:23Z

On Mon, 20 Apr 2026 at 19:23, Andy Shevchenko
<andriy.shevchenko@intel.com> 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