Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755755AbbHYPNe (ORCPT ); Tue, 25 Aug 2015 11:13:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:44484 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754398AbbHYPNc (ORCPT ); Tue, 25 Aug 2015 11:13:32 -0400 Date: Tue, 25 Aug 2015 17:12:56 +0200 From: David Sterba To: Alexandru Moise <00moses.alexander00@gmail.com> Cc: clm@fb.com, jbacik@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: Fixed declaration of old_len Message-ID: <20150825151256.GG10756@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Alexandru Moise <00moses.alexander00@gmail.com>, clm@fb.com, jbacik@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20150824215628.GA18871@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150824215628.GA18871@gmail.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 678 Lines: 14 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@gmail.com> Reviewed-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/