[PATCH V2 02/13] net: smc911x: Replace malloc()+memset() with calloc()

Marek Vasut marek.vasut at gmail.com
Wed Mar 25 16:31:47 CET 2020


On 3/22/20 6:38 PM, Masahiro Yamada wrote:
> On Sun, Mar 22, 2020 at 2:06 AM Marek Vasut <marek.vasut at gmail.com> wrote:
>>
>> Replace combination of malloc()+memset() with calloc() as the behavior
> 
> calloc() -> kzalloc()
> 
> to sync with the actual code.
> 
> Please fix the subject as well.

I'm switching this back to calloc(), it's not worth pulling in all the
linux compat stuff for one single function.


More information about the U-Boot mailing list