On Thu, Nov 22, 2012 at 01:29:33PM +0200, Artem Bityutskiy wrote: > On Thu, 2012-11-22 at 13:26 +0200, Artem Bityutskiy wrote: > > Did you consider kcalloc() ? Just like malloc() / calloc() libc > > functions? > > Ah, there is kcaoloc already, so I guess then we could just put the > overflow check there instead? Yep. That's there already. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html