Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: RANDSTRUCT structs need linux/compiler_types.h (Was: [nfsd4] p ...

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

__attribute((...)) can be placed after 'struct'.
That avoids the actual bug, but it wouldn't have helped _find_ the problem in the first place.
problem in the first place.
If somebody ever does the same thing, they'd hit the same issue. So I'd rather have something that causes a build failure when something goes wrong, rather than silently accepting syntax that wasn't intended.
wasn't intended.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles