* [PATCH] Staging: emxx_udc: fix warnings
@ 2015-02-25 13:54 Matteo Semenzato
2015-03-07 1:02 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Matteo Semenzato @ 2015-02-25 13:54 UTC (permalink / raw)
To: gregkh, horms+renesas, damm+renesas, peter.chen, balbi, pebolle
Cc: devel, linux-kernel, Matteo Semenzato
From: Matteo Semenzato <mattew8898@gmail.com>
This patch fixes the following warning:
__aligned(size) is preferred over __attribute__((aligned(size)))
Signed-off-by: Matteo Semenzato <mattew8898@gmail.com>
---
drivers/staging/emxx_udc/emxx_udc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h
index 202e2dc..6f90d5e 100644
--- a/drivers/staging/emxx_udc/emxx_udc.h
+++ b/drivers/staging/emxx_udc/emxx_udc.h
@@ -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;
--
2.3.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Staging: emxx_udc: fix warnings
2015-02-25 13:54 [PATCH] Staging: emxx_udc: fix warnings Matteo Semenzato
@ 2015-03-07 1:02 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-03-07 1:02 UTC (permalink / raw)
To: Matteo Semenzato
Cc: horms+renesas, damm+renesas, peter.chen, balbi, pebolle, devel,
linux-kernel
On Wed, Feb 25, 2015 at 02:54:32PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato <mattew8898@gmail.com>
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-07 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 13:54 [PATCH] Staging: emxx_udc: fix warnings Matteo Semenzato
2015-03-07 1:02 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.