Re: [PATCH v2] iio: magnetometer: hid-sensor-magn-3d: prefer 'unsigned int'

From: Andy Shevchenko

Date: Mon Apr 20 2026 - 14:04:07 EST


On Mon, Apr 20, 2026 at 08:46:57AM -0700, srinivas pandruvada wrote:
> On Sun, 2026-04-19 at 20:05 +0200, Joshua Crofts wrote:
> > Use 'u32' instead of bare 'unsigned' to resolve checkpatch.pl
> > warnings
> > and correct type use as defined in the hid_sensor_hub_callbacks
> > struct.
> >
> > No functional change.
> >
> > Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
>
> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>

The Subject needs to be adjusted as well.

> > ---
> > v2:
> >  - changed 'unsigned int' to 'u32' per struct definition

--
With Best Regards,
Andy Shevchenko