From: Jeff Layton Subject: Re: [PATCH 5/5] cifs: clean up various nits in unicode routines Date: Tue, 5 Apr 2011 10:32:09 -0700 Message-ID: <20110405103209.75fb7da5@corrin.poochiereds.net> References: <1301607405-4379-1-git-send-email-jlayton@redhat.com> <1301607405-4379-6-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Steve French Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Tue, 5 Apr 2011 12:23:40 -0500 Steve French wrote: > The patch is fine except that I would prefer that it not introduce a > sparse warning > (this would be the only endian warning). See below: > > CHECK fs/cifs/cifs_unicode.c > fs/cifs/cifs_unicode.c:309:32: warning: cast from restricted __le16 > CC [M] fs/cifs/cifs_unicode.o > Good point. I'll need to put a new variable on the stack to fix it, but that's no big deal. I'll fix and resend. -- Jeff Layton