Messages in this thread | | | Date | Thu, 20 Jan 2011 20:20:50 -0500 | From | Jeff Layton <> | Subject | Re: linux-next: build warning after merge of the cifs tree |
| |
On Fri, 21 Jan 2011 12:05:24 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all, > > After merging the cifs tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > fs/cifs/cifssmb.c: In function 'CIFSSMBEcho': > fs/cifs/cifssmb.c:740: warning: large integer implicitly truncated to unsigned type > > Introduced by commit 766fdbb57fdb1e53bc34c431103e95383d7f13ba ("cifs: add > ability to send an echo request"). >
Oh duh -- <forehead slap>...
smb->hdr.WordCount = cpu_to_le16(1);
...and WordCount is u8. I'll send Steve a fix tomorrow...
-- Jeff Layton <jlayton@redhat.com> [unhandled content-type:application/pgp-signature] | |