Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2 messages, 2 authors, 2021-01-12 · open the first message on its own page

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

From: Florian Weimer <hidden>
Date: 2021-01-12 13:33:40

* Lukas Wunner:
On Fri, Jan 08, 2021 at 12:02:53PM -0800, Linus Torvalds wrote:
quoted
I appreciate Arnd pointing out "--std=gnu11", though. What are the
actual relevant language improvements?

Variable declarations in for-loops is the only one I can think of. I
think that would clean up some code (and some macros), but might not
be compelling on its own.
Anonymous structs/unions.  I used to have a use case for that in
struct efi_dev_path in include/linux/efi.h, but Ard Biesheuvel
refactored it in a gnu89-compatible way for v5.7 with db8952e7094f.
Aren't those a GNU extension supported since GCC 3.0?

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

RE: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

From: David Laight <hidden>
Date: 2021-01-12 13:47:59

From: Florian Weimer
Sent: 12 January 2021 13:32

* Lukas Wunner:
quoted
On Fri, Jan 08, 2021 at 12:02:53PM -0800, Linus Torvalds wrote:
quoted
I appreciate Arnd pointing out "--std=gnu11", though. What are the
actual relevant language improvements?

Variable declarations in for-loops is the only one I can think of. I
think that would clean up some code (and some macros), but might not
be compelling on its own.
Anonymous structs/unions.  I used to have a use case for that in
struct efi_dev_path in include/linux/efi.h, but Ard Biesheuvel
refactored it in a gnu89-compatible way for v5.7 with db8952e7094f.
Aren't those a GNU extension supported since GCC 3.0?
They are certainly pretty old.
The 15 year old gcc we use for release builds (so binaries work
on old distributions) supports them.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help