** Description changed:
/var/lib/dkms/backport-iwlwifi/0~88.12113-gitd7d581b7/build/drivers/net/wireless/intel/iwlwifi/mvm/tt.c:673:26:
error: initialization of 'int (*)(struct thermal_zone_d
evice *, const struct thermal_trip *, int)' from incompatible pointer type
'int (*)(struct thermal_zone_device *, int, int)'
[-Wincompatible-pointer-types]
- 673 | .set_trip_temp = iwl_mvm_tzone_set_trip_temp,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 673 | .set_trip_temp = iwl_mvm_tzone_set_trip_temp,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/backport-iwlwifi/0~88.12113-gitd7d581b7/build/drivers/net/wireless/intel/iwlwifi/mvm/tt.c:673:26:
note: (near initialization for 'tzone_ops.set_trip_temp
')
+
+ In upstream v6.11-rc1 commit 0728c810873e1 ("thermal: trip: Pass trip
+ pointer to .set_trip_temp() thermal zone callback"):
+
+ diff --git a/include/linux/thermal.h b/include/linux/thermal.h
+ index 3bd1b361ec348..cdd9c722cda26 100644
+ --- a/include/linux/thermal.h
+ +++ b/include/linux/thermal.h
+ @@ -93,7 +93,8 @@ struct thermal_zone_device_ops {
+ int (*set_trips) (struct thermal_zone_device *, int, int);
+ int (*change_mode) (struct thermal_zone_device *,
+ enum thermal_device_mode);
+ - int (*set_trip_temp) (struct thermal_zone_device *, int, int);
+ + int (*set_trip_temp) (struct thermal_zone_device *,
+ + const struct thermal_trip *, int);
+ int (*get_crit_temp) (struct thermal_zone_device *, int *);
+ int (*set_emul_temp) (struct thermal_zone_device *, int);
+ int (*get_trend) (struct thermal_zone_device *,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076261
Title:
Failed to build against linux-6.11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2076261/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs