From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [patch] CIFS: cleanup min_t() cast in cifs_read() Date: Mon, 17 Oct 2011 17:18:34 +0300 Message-ID: <20111017141834.GP30887@longonot.mountain> References: <20111017073018.GC7812@elgon.mountain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Steve French , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Steve French Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: 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