aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2016-12-14 10:09:25 +0000
committerRichard Weinberger <[email protected]>2016-12-14 16:39:21 +0000
commitba75d570b60c05cda21c0b43c5fbdc4e344f892d (patch)
treeaf08ba1fbf4d5a0d650eb6eccfbb59623c8ac7fa /net/unix/af_unix.c
parentubifs: Use fscrypt ioctl() helpers (diff)
downloadkernel-ba75d570b60c05cda21c0b43c5fbdc4e344f892d.tar.gz
kernel-ba75d570b60c05cda21c0b43c5fbdc4e344f892d.zip
ubifs: Initialize fstr_real_len
While fstr_real_len is only being used under if (encrypted), gcc-6 still warns. Fixes this false positive: fs/ubifs/dir.c: In function 'ubifs_readdir': fs/ubifs/dir.c:629:13: warning: 'fstr_real_len' may be used uninitialized in this function [-Wmaybe-uninitialized] fstr.len = fstr_real_len Initialize fstr_real_len to make gcc happy. Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions