linux-next: build warning after merge of the cifs tree

Stephen Rothwell <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.file-systems.cifs,gmane.linux.kernel.next
Message-ID <[email protected]>
Hi Steve,

After merging the cifs tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

fs/cifs/cifssmb.c: In function 'CIFSSMBWrite':
fs/cifs/cifssmb.c:1516: warning: suggest explicit braces to avoid ambiguous 'else'

Introduced by commit 5702f749ee6645f70412cfe6408503a735366ffe ("cifs:
initialize nbytes at the beginning of CIFSSMBWrite()").

The cFYI() macro that is invoked in the (unbraced) if clause contains an
if statement ...  so this warning actually indicates a bug.  Those
debugging macros look like a real mess ...

-- 
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuz7fMACgkQjjKRsyhoI8wK8gCfQ6hlYEaHt9CstI046s55rUCe
jAgAoLETu8apz1owpgeaZJJAGrBLtBG3
=UgKh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.