Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227AbYC1LIR (ORCPT ); Fri, 28 Mar 2008 07:08:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752656AbYC1LID (ORCPT ); Fri, 28 Mar 2008 07:08:03 -0400 Received: from smtp.nokia.com ([192.100.105.134]:31141 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbYC1LIB (ORCPT ); Fri, 28 Mar 2008 07:08:01 -0400 Message-ID: <47ECD0AE.4020301@nokia.com> Date: Fri, 28 Mar 2008 13:04:14 +0200 From: Artem Bityutskiy Reply-To: Artem.Bityutskiy@nokia.com Organization: Nokia OYJ User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Andrew Morton CC: LKML , Adrian Hunter Subject: Re: [RFC PATCH 05/26] UBIFS: add file-system build References: <1206629746-4298-1-git-send-email-Artem.Bityutskiy@nokia.com> <1206629746-4298-6-git-send-email-Artem.Bityutskiy@nokia.com> <20080328031246.8c7e849b.akpm@linux-foundation.org> In-Reply-To: <20080328031246.8c7e849b.akpm@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 28 Mar 2008 11:07:08.0049 (UTC) FILETIME=[DCFA9010:01C890C3] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 23 Andrew Morton wrote: > On Thu, 27 Mar 2008 16:55:25 +0200 Artem Bityutskiy wrote: > >> + /* >> + * Make sure that the log is large enough to fit reference nodes for >> + * all buds plus one reserved LEB. >> + */ >> + tmp64 = c->max_bud_bytes; >> + tmp = do_div(tmp64, c->leb_size); > > do_div() operates on u64, not signed long long. This will warn on several > architectures. Will be fixed, thank you! -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- 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/