Re: [RFC PATCH 05/26] UBIFS: add file-system build

From: Artem Bityutskiy
Date: Fri Mar 28 2008 - 07:08:19 EST


Andrew Morton wrote:
On Thu, 27 Mar 2008 16:55:25 +0200 Artem Bityutskiy <Artem.Bityutskiy@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/