On Wed, Mar 25, 2020 at 1:45 PM Marek Vasut <[email protected]> wrote: > > Replace combination of malloc()+memset() with calloc() as the behavior > is exactly the same and the amount of code is reduced. Moreover, remove > printf() in the fail path, as it is useless, and return proper -ENOMEM > return code. > > Signed-off-by: Marek Vasut <[email protected]> > Cc: Eugen Hristev <[email protected]> > Cc: Joe Hershberger <[email protected]>
Acked-by: Joe Hershberger <[email protected]>

