Re: arm: sys_oabi-compat: Use kmalloc_array() in two functions

From: SF Markus Elfring
Date: Fri Aug 26 2016 - 11:08:15 EST


> It should at least make basic English sense. I'm afraid the above
> doesn't convey any meaning what so ever, at least to me. It doesn't
> matter how many times I read it, I still end up wondering "wtf is
> this trying to tell me?"

I have started to look a bit more on the usage of the following
function pairs in some Linux source files.

kmalloc() â kmalloc_array()
kzalloc() â kcalloc()

Can such combinations be extended anyhow?


Some update candidates can be found for this use case in several
software areas.

Regards,
Markus