[patch] CIFS: cleanup min_t() cast in cifs_read()

Dan Carpenter dan.carpenter at oracle.com
Mon Oct 17 08:18:34 MDT 2011

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.

dan carpenter

More information about the samba-technical mailing list