Skip to contentSkip to conversation

soc: bcm: raspberrypi-power: Fix use of __packed

PATCH Applied Florian Fainelli 2 participants 3 messages Apr 1, 2018 – Apr 6, 2018

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

PATCH 1/1 soc: bcm: raspberrypi-power: Fix use of __packed

Commit a09cd356586d ("ARM: bcm2835: add rpi power domain driver") attempted to annotate the structure rpi_power_domain_packet with __packed but introduced a typo and made it named __packet instead. Just drop the annotation since the structure is naturally aligned already.

Fixes a09cd356586d ("ARM: bcm2835: add rpi power domain driver")
---
 drivers/soc/bcm/raspberrypi-power.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/bcm/raspberrypi-power.c +1 -1
index fe96a8b956fb..f7ed1187518b 100644
@@ -45,7 +45,7 @@ struct rpi_power_domains {
 struct rpi_power_domain_packet {
 	u32 domain;
 	u32 on;
-} __packet;
+};
 
 /*
  * Asks the firmware to enable or disable power on a specific power
Signature · 1 line
2.14.1
#1 lore raw

Hi Florian Fainelli.

[This is an automated email]

This commit has been processed because it contains a "Fixes:" tag. fixing commit: a09cd356586d ARM: bcm2835: add rpi power domain driver.

The bot has also determined it's probably a bug fixing patch. (score: 35.5765)

The bot has tested the following trees: v4.15.15, v4.14.32, v4.9.92,

v4.15.15: Build OK!
v4.14.32: Build OK!
v4.9.92: Build OK!

--
Thanks.
Sasha

author Applied
#2 lore raw
In reply to Florian Fainelli
Quoted 8 lines · Florian Fainelli

Commit a09cd356586d ("ARM: bcm2835: add rpi power domain driver") attempted to annotate the structure rpi_power_domain_packet with __packed but introduced a typo and made it named __packet instead. Just drop the annotation since the structure is naturally aligned already.

Fixes a09cd356586d ("ARM: bcm2835: add rpi power domain driver")

---

Applied to drivers/fixes, thanks!
--
Florian