diff options
author | Eric Biggers <ebiggers@google.com> | 2018-01-19 13:45:24 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-04-08 03:05:28 -0700 |
commit | 7e0e7995ee97a285ca764c854c7e899aecd75949 (patch) | |
tree | 87794897cac9e509adbcc2dc4d1f715f140ff8e9 /sound/i2c | |
parent | 31d3279a4fcaf92099ad5ee613a6cf3db99f7e9b (diff) |
fscrypt: fix build with pre-4.6 gcc versions
gcc versions prior to 4.6 require an extra level of braces when using a
designated initializer for a member in an anonymous struct or union.
This caused a compile error with the 'struct qstr' initialization in
__fscrypt_encrypt_symlink().
Fix it by using QSTR_INIT().
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Fixes: 76e81d6d5048 ("fscrypt: new helper functions for ->symlink()")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions