]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix compiler warning in CIFSSMBQAllEAs
authorJeff Layton <jlayton@redhat.com>
Thu, 28 Jul 2011 16:48:26 +0000 (12:48 -0400)
committerSteve French <sfrench@us.ibm.com>
Sun, 31 Jul 2011 21:21:13 +0000 (21:21 +0000)
commit57b130241f8b532f17bb1dd25597e6c9123f1948
tree64a3750c18ed9fae2486f0c53d48804efd66a34f
parent7b6bcc8b4e00ea6249975ff81e76a80c00f6b380
cifs: fix compiler warning in CIFSSMBQAllEAs

The recent fix to the above function causes this compiler warning to pop
on some gcc versions:

  CC [M]  fs/cifs/cifssmb.o
fs/cifs/cifssmb.c: In function ‘CIFSSMBQAllEAs’:
fs/cifs/cifssmb.c:5708: warning: ‘ea_name_len’ may be used uninitialized in
this function

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c