[PATCH bluetooth-next 4/6] ieee802154: wpan-phy: change to __aligned(size)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fix a checkpatch warning that __aligned(size) is preferred
over __attribute__((aligned(size))).

Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx>
---
 include/net/wpan-phy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/wpan-phy.h b/include/net/wpan-phy.h
index 65a05f1..fa827c9 100644
--- 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] __attribute__((__aligned__(NETDEV_ALIGN)));
+	char priv[0] __aligned(NETDEV_ALIGN);
 };
 
 #define to_phy(_dev)	container_of(_dev, struct wpan_phy, dev)
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux