Re: [PATCH] iwlwifi: mvm: add const to thermal_cooling_device_ops structure

From: Luca Coelho
Date: Thu Jun 29 2017 - 13:08:29 EST


On Wed, 2017-06-28 at 14:49 +0300, Luca Coelho wrote:
> On Wed, 2017-06-21 at 14:10 +0530, Bhumika Goyal wrote:
> > Declare thermal_cooling_device_ops structure as const as it is only passed
> > as an argument to the function thermal_cooling_device_register and this
> > argument is of type const. So, declare the structure as const.
> >
> > Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>
> > ---
>
> Thanks, we're reviewing this internally. It looks fine, but I need to
> assess whether this will have any impacts in our backports project
> before we can apply it.

This has been applied in our internal tree and will eventually land in
the mainline.

Thanks!

--
Cheers,
Luca.