Re: [PATCH 1/2] btrfs: avoid passing int param to start_transaction which takes u64

From: David Sterba
Date: Tue Sep 22 2015 - 09:44:56 EST


On Tue, Sep 22, 2015 at 04:33:07PM +0300, Alexandru Moise wrote:
> > I think it's better to do it the other way around, ie. let all the
> > equivalents of 'num_items' be an int. We know that this is a small
> > number, using u64 for that is an overkill. As the number is always
> > positive, please make it 'unsigned'.
>
> So you'd want it to be "unsigned int" or "u32"?

'unsigned int' please
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/