lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@nokia.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-03-28 12:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site