* [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed
@ 2018-04-01 16:42 Florian Fainelli
2018-04-05 1:33 ` Sasha Levin
2018-04-06 16:07 ` Florian Fainelli
0 siblings, 2 replies; 3+ messages in thread
From: Florian Fainelli @ 2018-04-01 16:42 UTC (permalink / raw)
To: linux-kernel
Cc: alex.aring, eric, bcm-kernel-feedback-list, ulf.hansson, khilman,
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")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/soc/bcm/raspberrypi-power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/bcm/raspberrypi-power.c b/drivers/soc/bcm/raspberrypi-power.c
index fe96a8b956fb..f7ed1187518b 100644
--- a/drivers/soc/bcm/raspberrypi-power.c
+++ b/drivers/soc/bcm/raspberrypi-power.c
@@ -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
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed
2018-04-01 16:42 [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed Florian Fainelli
@ 2018-04-05 1:33 ` Sasha Levin
2018-04-06 16:07 ` Florian Fainelli
1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2018-04-05 1:33 UTC (permalink / raw)
To: Sasha Levin, Florian Fainelli, linux-kernel; +Cc: alex.aring, eric, stable
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed
2018-04-01 16:42 [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed Florian Fainelli
2018-04-05 1:33 ` Sasha Levin
@ 2018-04-06 16:07 ` Florian Fainelli
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2018-04-06 16:07 UTC (permalink / raw)
To: bcm-kernel-feedback-list, linux-kernel
Cc: alex.aring, eric, ulf.hansson, khilman
On Sun, 1 Apr 2018 09:42:25 -0700, Florian Fainelli <f.fainelli@gmail.com> wrote:
> 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")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
Applied to drivers/fixes, thanks!
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-06 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-01 16:42 [PATCH] soc: bcm: raspberrypi-power: Fix use of __packed Florian Fainelli
2018-04-05 1:33 ` Sasha Levin
2018-04-06 16:07 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).