Skip to contentSkip to conversation

Staging: emxx_udc: fix warnings

PATCH In review Matteo Semenzato 2 participants 2 messages Feb 25, 2015 – Mar 7, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: emxx_udc: fix warnings

From: Matteo Semenzato <[email protected]>

This patch fixes the following warning:
__aligned(size) is preferred over __attribute__((aligned(size)))

---
 drivers/staging/emxx_udc/emxx_udc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.h +1 -1
index 202e2dc..6f90d5e 100644
@@ -535,7 +535,7 @@ typedef struct _T_FC_REGS {
 
 	u8 Reserved1200[0x1000-0x200];	/* Reserved */
 
-} __attribute__ ((aligned(32))) T_FC_REGS, *PT_FC_REGS;
+} __aligned(32) T_FC_REGS, *PT_FC_REGS;
 
 
 
Signature · 1 line
2.3.0
maintainer
#1 lore raw
Quoted 4 lines · Matteo Semenzato

From: Matteo Semenzato <[email protected]>

This patch fixes the following warning:
__aligned(size) is preferred over __attribute__((aligned(size)))

That's a coding style warning, not a build warning. Please be explicit when sending a patch.

Care to fix this up and resend?

thanks,

greg k-h