From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id D2A9029DFB for ; Tue, 13 Aug 2013 10:12:25 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay2.corp.sgi.com (Postfix) with ESMTP id 95752304039 for ; Tue, 13 Aug 2013 08:12:25 -0700 (PDT) Received: from sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id c3T9WlaCpDJQJDvF for ; Tue, 13 Aug 2013 08:12:24 -0700 (PDT) Message-ID: <520A4CCE.8010900@sandeen.net> Date: Tue, 13 Aug 2013 10:12:14 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH] xfs: call roundup_64() to calculate the min_logblks References: <5209C4D0.5050203@oracle.com> <20130813065355.GB6023@dastard> <5209E589.7080304@oracle.com> In-Reply-To: <5209E589.7080304@oracle.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Jeff Liu Cc: kbuild test robot , "xfs@oss.sgi.com" On 8/13/13 2:51 AM, Jeff Liu wrote: > On 08/13/2013 02:53 PM, Dave Chinner wrote: > >> On Tue, Aug 13, 2013 at 01:32:00PM +0800, Jeff Liu wrote: >>> From: Jie Liu >>> >>> Replace roundup() with roundup_64() as we calculate min_logblks >>> with 64-bit divisions. Hence, call roundup() will cause the >>> following error while compiling a 32-bit kernel: >>> >>> fs/built-in.o: In function `xfs_log_calc_minimum_size': >>> fs/xfs/xfs_log_rlimit.c:140: undefined reference to `__udivdi3' >>> >>> Reported-by: Fengguang Wu >>> Cc: Dave Chinner >>> Signed-off-by: Jie Liu >> >> You beat me to it, Jeff. I got an email from Fengguang's build farm, >> too. :) > > Hi Dave, > > I'm on a longer vacations these days(until next week). I have asked > my friend for help checking our mailing list to watch if there's any > email for me before the leaving, so I got his phone call this morning > for this bug. :) Now that's dedication. :) -Eric >> >> Your fix looks good. >> >> Reviewed-by: Dave Chinner > > Thanks for your quick review! > > -Jeff > > _______________________________________________ > xfs mailing list > xfs@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs