[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47ECD0AE.4020301@nokia.com>
Date: Fri, 28 Mar 2008 13:04:14 +0200
From: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: LKML <linux-kernel@...r.kernel.org>,
Adrian Hunter <ext-adrian.hunter@...ia.com>
Subject: Re: [RFC PATCH 05/26] UBIFS: add file-system build
Andrew Morton wrote:
> On Thu, 27 Mar 2008 16:55:25 +0200 Artem Bityutskiy <Artem.Bityutskiy@...ia.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists