alistair23-linux/drivers/thermal
Johannes Berg 2a94fe48f3 genetlink: make multicast groups const, prevent abuse
Register generic netlink multicast groups as an array with
the family and give them contiguous group IDs. Then instead
of passing the global group ID to the various functions that
send messages, pass the ID relative to the family - for most
families that's just 0 because the only have one group.

This avoids the list_head and ID in each group, adding a new
field for the mcast group ID offset to the family.

At the same time, this allows us to prevent abusing groups
again like the quota and dropmon code did, since we can now
check that a family only uses a group it owns.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-19 16:39:06 -05:00
..
samsung thermal: exynos: Provide initial setting for TMU's test MUX address at Exynos4412 2013-10-15 10:10:42 -04:00
ti-soc-thermal drivers: thermal: allow ti-soc-thermal run without pcb zone 2013-10-15 10:10:43 -04:00
armada_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
cpu_cooling.c drivers: thermal: add check when unregistering cpu cooling 2013-09-03 09:10:34 -04:00
db8500_cpufreq_cooling.c thermal: db8500_cpufreq_cooling: remove usage of IS_ERR_OR_NULL() 2013-04-27 09:28:38 +08:00
db8500_thermal.c thermal: db8500: Fix missing mutex_unlock() in probe error paths 2013-03-26 22:08:08 +08:00
dove_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
fair_share.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
imx_thermal.c thermal: imx: implement thermal alarm interrupt handling 2013-08-15 14:57:42 +08:00
intel_powerclamp.c Fix mis-merge of intel_powerclamp.c resulting in compile error 2013-02-28 20:23:09 -08:00
Kconfig thermal: hwmon: move hwmon support to single file 2013-09-03 09:09:12 -04:00
kirkwood_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
Makefile thermal: hwmon: move hwmon support to single file 2013-09-03 09:09:12 -04:00
rcar_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
spear_thermal.c Merge branches 'misc', 'drv_cleanup', 'devm-cleanup' and 'ti-soc' of .git into next 2013-05-28 10:46:46 +08:00
step_wise.c thermal: step_wise: return instance->target by default 2013-08-15 15:49:20 +08:00
thermal_core.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
thermal_core.h Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
thermal_hwmon.c Revert "drivers: thermal: parent virtual hwmon with thermal zone" 2013-10-21 11:16:29 +08:00
thermal_hwmon.h thermal: hwmon: move hwmon support to single file 2013-09-03 09:09:12 -04:00
user_space.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
x86_pkg_temp_thermal.c Thermal: x86_pkg_temp: change spin lock 2013-09-25 21:29:39 +08:00