Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754787AbaDGEOr (ORCPT ); Mon, 7 Apr 2014 00:14:47 -0400 Received: from imap.thunk.org ([74.207.234.97]:50932 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbaDGEOl (ORCPT ); Mon, 7 Apr 2014 00:14:41 -0400 Date: Mon, 7 Apr 2014 00:14:31 -0400 From: "Theodore Ts'o" To: Geert Uytterhoeven Cc: Chen Gang , Andreas Dilger , linux-ext4@vger.kernel.org, "linux-kernel@vger.kernel.org" , Guan Xuetao Subject: Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug Message-ID: <20140407041431.GA8468@thunk.org> Mail-Followup-To: Theodore Ts'o , Geert Uytterhoeven , Chen Gang , Andreas Dilger , linux-ext4@vger.kernel.org, "linux-kernel@vger.kernel.org" , Guan Xuetao References: <53396AC1.10108@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 06, 2014 at 03:39:09PM +0200, Geert Uytterhoeven wrote: > On Mon, Mar 31, 2014 at 3:16 PM, Chen Gang wrote: > > '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need > > append 'ULL' for it. > > > > The related warning (with allmodconfig under unicore32): > > > > CC [M] fs/ext4/extents_status.o > > fs/ext4/extents_status.c: In function ‘__es_remove_extent’: > > fs/ext4/extents_status.c:813: warning: integer constant is too large for ‘long’ type > > Thanks! This is failing on all 32-bit architectures. Yes, it's harmless (since we don't actually check the value anywhere; this is just so humans could easily spot bugs when debugging), but I'll make sure this gets queued for 3.15 fixes in the ext4 tree. Thanks!! Signed-off-by: "Theodore Ts'o" - Ted -- 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/