2010-10-05 12:02:21

by Luciano Coelho

[permalink] [raw]
Subject: [PATCH] wl1271: remove deprecated __attribute__ ((packed))

One __attribute__ ((packed)) has been accidentally introduced in commit
be86cbea1e9c3a4dd8faedcfa327495d09fe3531. This patch changes it to __packed.

Signed-off-by: Luciano Coelho <[email protected]>
---
drivers/net/wireless/wl12xx/wl1271_cmd.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h
index ed80bec..a0caf4f 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.h
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h
@@ -454,6 +454,6 @@ struct wl1271_cmd_set_sta_state {

u8 state;
u8 padding[3];
-} __attribute__ ((packed));
+} __packed;

#endif /* __WL1271_CMD_H__ */
--
1.7.0.4



2010-10-05 12:09:35

by Luciano Coelho

[permalink] [raw]
Subject: Re: [PATCH] wl1271: remove deprecated __attribute__ ((packed))

On Tue, 2010-10-05 at 14:02 +0200, ext Luciano Coelho wrote:
> One __attribute__ ((packed)) has been accidentally introduced in commit
> be86cbea1e9c3a4dd8faedcfa327495d09fe3531. This patch changes it to __packed.
>
> Signed-off-by: Luciano Coelho <[email protected]>
> ---

Applied and pushed to wl12xx/master.


--
Cheers,
Luca.