Skip to contentSkip to conversation

acpi: Eliminate a bit o'redudancy

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Mar 20, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi: Eliminate a bit o'redudancy

I haven't checked if this pessimizes code, its just that when testing my CTF encoder it decided that if the base type has the same bits as the bitfield member and CTF has no expressiveness as in the bloated DWARF format to express this case, so, to avoid my testcases from pointing me this oxymoron, can you please apply this patch?

include/acpi/acpi_bus.h +1 -1
index e9f6574..498b0a0 100644
@@ -236,7 +236,7 @@ struct acpi_device_power {
 /* Performance Management */
 
 struct acpi_device_perf_flags {
-	u8 reserved:8;
+	u8 reserved;
 };
 
 struct acpi_device_perf_state {