projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b8435
)
staging: zram: conventions, __aligned() attribute
author
Sam Hansen
<solid.se7en@gmail.com>
Thu, 7 Jun 2012 23:03:48 +0000
(16:03 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 16:04:15 +0000
(09:04 -0700)
Using the __aligned() attribute in favor of __attribute__((aligned(size)))
Signed-off-by: Sam Hansen <solid.se7en@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.h
patch
|
blob
|
history
diff --git
a/drivers/staging/zram/zram_drv.h
b/drivers/staging/zram/zram_drv.h
index 9711d1e281f112c57b35067e4b1e054dc8654b6a..572c0b1551d4bb2dd6c0cb9940988a57ed40ebce 100644
(file)
--- a/
drivers/staging/zram/zram_drv.h
+++ b/
drivers/staging/zram/zram_drv.h
@@
-70,7
+70,7
@@
struct table {
u16 size; /* object size (excluding header) */
u8 count; /* object ref count (not yet used) */
u8 flags;
-} __a
ttribute__((aligned(4))
);
+} __a
ligned(4
);
struct zram_stats {
u64 compr_size; /* compressed size of pages stored */