Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80677c25 authored by Sam Hansen's avatar Sam Hansen Committed by Greg Kroah-Hartman
Browse files

staging: zram: conventions, __aligned() attribute



Using the __aligned() attribute in favor of __attribute__((aligned(size)))

Signed-off-by: default avatarSam Hansen <solid.se7en@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94b8435f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ struct table {
	u16 size;	/* object size (excluding header) */
	u8 count;	/* object ref count (not yet used) */
	u8 flags;
} __attribute__((aligned(4)));
} __aligned(4);

struct zram_stats {
	u64 compr_size;		/* compressed size of pages stored */