projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57205c1
)
ieee802154: wpan-phy: change to __aligned(size)
author
Alexander Aring
<alex.aring@gmail.com>
Sat, 25 Oct 2014 03:25:10 +0000
(
05:25
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 25 Oct 2014 06:07:30 +0000
(08:07 +0200)
This patch fix a checkpatch warning that __aligned(size) is preferred
over __attribute__((aligned(size))).
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/wpan-phy.h
patch
|
blob
|
history
diff --git
a/include/net/wpan-phy.h
b/include/net/wpan-phy.h
index 65a05f19eb68ca6eba213c6e6c27167b9a5f6c61..fa827c9233917e629dcaddf470263174260a6076 100644
(file)
--- a/
include/net/wpan-phy.h
+++ b/
include/net/wpan-phy.h
@@
-65,7
+65,7
@@
struct wpan_phy {
u8 retries);
int (*set_frame_retries)(struct wpan_phy *phy, s8 retries);
- char priv[0] __a
ttribute__((__aligned__(NETDEV_ALIGN))
);
+ char priv[0] __a
ligned(NETDEV_ALIGN
);
};
#define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)