Staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size)
PATCH 1/1 Staging: emxx_udc: Convert from __attribute__((aligned(size))) to __aligned(size)
This fixes the following checkpatch.pl warnings in emxx_udc.h file:
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
@@ -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
1.9.1
Quoted 2 lines · aybuke ozdemir
This fixes the following checkpatch.pl warnings in
emxx_udc.hfile:
WARNING:__aligned(size)is preferred over __attribute__((aligned(size)))
This was done already by Vatika Harlalka. You can see what has been done in the mailing list archives.
julia
Quoted 28 lines
Signed-off-by aybuke ozdemir <[email protected]>--- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/emxx_udc/emxx_udc.h +1
-2@@ -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 ; --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424364343-3944-1-git-send-email-aybuke.147%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
I too submitted a patch for it in the older mailing list last month. Navya
Quoted 47 lines · Julia Lawall
Quoted 2 lines · aybuke ozdemir
This fixes the following checkpatch.pl warnings in
emxx_udc.hfile:
WARNING:__aligned(size)is preferred over__attribute__((aligned(size)))
This was done already by Vatika Harlalka. You can see what has been done in the mailing list archives.
julia
Review
Quoted 6 lines
Signed-off-by aybuke ozdemir <[email protected] <javascript:>>---
drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/staging/emxx_udc/emxx_udc.hQuoted 17 lines
index ee1b80d..2ac216f 100644
drivers/staging/emxx_udc/emxx_udc.h +1
-1@@ -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 · 4 lines
1.9.1 -- You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected] <javascript:>.
Quoted 1 line
To post to this group, send email to [email protected]
<javascript:>.
Quoted 1 line
To view this discussion on the web visit
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.