Re: [PATCH] iwlwifi: mvm: add const to thermal_cooling_device_ops structure
From: Luca Coelho <hidden>
Date: 2017-06-29 17:08:19
Also in:
linux-wireless, lkml
From: Luca Coelho <hidden>
Date: 2017-06-29 17:08:19
Also in:
linux-wireless, lkml
On Wed, 2017-06-28 at 14:49 +0300, Luca Coelho wrote:
On Wed, 2017-06-21 at 14:10 +0530, Bhumika Goyal wrote:quoted
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 <redacted> ---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!