Re: [PATCH] btrfs: Fixed declaration of old_len

From: David Sterba
Date: Tue Aug 25 2015 - 11:13:37 EST


On Mon, Aug 24, 2015 at 09:56:28PM +0000, Alexandru Moise wrote:
> old_len is used to store the return value of btrfs_item_size_nr().
> The return value of btrfs_item_size_nr() is of type u32.
> To improve code correctness and avoid mixing signed and unsigned
> integers I've changed old_len to be of type u32 as well.
>
> Signed-off-by: Alexandru Moise <00moses.alexander00@xxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
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/