Skip to contentSkip to conversation

staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x)

PATCH New Sabitha George 1 participant 1 message Oct 13, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x)

Fixes checkpatch.pl warning: __aligned(size) is preferred over __attribute__((aligned(size)) in ks7010_sdio.h

---
 drivers/staging/ks7010/ks7010_sdio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/ks7010_sdio.h +1 -1
index c72064b..c89e570 100644
@@ -100,7 +100,7 @@ struct hw_info_t {
 struct ks_sdio_packet {
 	struct ks_sdio_packet *next;
 	u16 nb;
-	u8 buffer[0] __attribute__ ((aligned(4)));
+	u8 buffer[0] __aligned(4);
 };
 
 struct ks_sdio_card {
Signature · 1 line
1.9.1