![]() | ||||||||||
Messages in this thread |
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 11:11 [W:0.160 / U:0.130 seconds] ©2003-2008 Jasper Spaans | ||||||||||