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

SF Markus Elfring elfring at users.sourceforge.net
Fri Aug 26 08:07:07 PDT 2016


> 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



More information about the linux-arm-kernel mailing list