diff options
| author | James Hogan <[email protected]> | 2014-09-16 12:07:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-09-16 14:44:54 +0000 |
| commit | a060dc5010ffa32f3a83e5336f6eeb6551fa137a (patch) | |
| tree | 363baf07ff23084db68b931266ace0c0ebb91895 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-a060dc5010ffa32f3a83e5336f6eeb6551fa137a.tar.gz kernel-a060dc5010ffa32f3a83e5336f6eeb6551fa137a.zip | |
vfs: workaround gcc <4.6 build error in link_path_walk()
Commit d6bb3e9075bb ("vfs: simplify and shrink stack frame of
link_path_walk()") introduced build problems with GCC versions older
than 4.6 due to the initialisation of a member of an anonymous union in
struct qstr without enclosing braces.
This hits GCC bug 10676 [1] (which was fixed in GCC 4.6 by [2]), and
causes the following build error:
fs/namei.c: In function 'link_path_walk':
fs/namei.c:1778: error: unknown field 'hash_len' specified in initializer
This is worked around by adding explicit braces.
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=159206
Fixes: d6bb3e9075bb (vfs: simplify and shrink stack frame of link_path_walk())
Signed-off-by: James Hogan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
