Re: [PATCH 5/5] cifs: clean up various nits in unicode routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 05 Apr 2011 19:01:18 +0100
David Howells <dhowells@xxxxxxxxxx> wrote:

> David Howells <dhowells@xxxxxxxxxx> wrote:
> 
> > Which line is it that actually gives the warning?  Is it when 0 is implicitly
> > cast to __le16?  If so, can you just cast it directly?
> 
> Actually, if it really *is* that line, then perhaps *sparse* is wrong... (0 is
> special after all).
> 
> David

No, it's because I'm abusing the __le16 on the stack and then fixing it
up using cpu_to_le16. It's worth fixing, I think...

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux