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

Commit 17af691c authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[PATCH] ARM: Fix new-ABI layout of struct stat64



Add __attribute__((packed)) to ensure that the stat64 structure is
correctly laid out no matter which ABI the kernel is compiled for.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 68070bde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,6 +89,6 @@ struct stat64 {
	unsigned long	st_ctime_nsec;

	unsigned long long	st_ino;
};
} __attribute__((packed));

#endif