From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Mon, 17 Oct 2011 14:18:34 +0000 Subject: Re: [patch] CIFS: cleanup min_t() cast in cifs_read() Message-Id: <20111017141834.GP30887@longonot.mountain> List-Id: References: <20111017073018.GC7812@elgon.mountain> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Steve French Cc: Steve French , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Mon, Oct 17, 2011 at 09:10:01AM -0500, Steve French wrote: > I prefer the change to unsigned int rather than u32 so it is clearer > that you are not casting the value from 64 bit to 32 bit on some > architectures. To avoid reformatting can't you can use "uint" if you > want the shorter form see: > > include/linux/types.h:typedef unsigned int uint; > Yes. That looks nicer. I'll resend. regards, dan carpenter