Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1500466 > unrolled thread
| Started by | Sabitha George <sabitha.george@gmail.com> |
|---|---|
| First post | 2016-10-13 19:10 +0200 |
| Last post | 2016-10-13 19:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/2] staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x) Sabitha George <sabitha.george@gmail.com> - 2016-10-13 19:10 +0200
| From | Sabitha George <sabitha.george@gmail.com> |
|---|---|
| Date | 2016-10-13 19:10 +0200 |
| Subject | [PATCH 1/2] staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x) |
| Message-ID | <srRG2-6rg-11@gated-at.bofh.it> |
Fixes checkpatch.pl warning: __aligned(size) is preferred over
__attribute__((aligned(size)) in ks7010_sdio.h
Signed-off-by: Sabitha George <sabitha.george@gmail.com>
---
drivers/staging/ks7010/ks7010_sdio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h
index c72064b..c89e570 100644
--- a/drivers/staging/ks7010/ks7010_sdio.h
+++ b/drivers/staging/ks7010/ks7010_sdio.h
@@ -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 {
--
1.9.1
Back to top | Article view | linux.kernel
csiph-web