Re: [PATCH 05/10] drivers:net: return -ENOMEM on allocation failure.

From: Allen
Date: Wed Sep 13 2017 - 09:06:08 EST


> propagates the -1. That is only called by bond_open() with:
>
> if (bond_alb_initialize(bond, (BOND_MODE(bond) == BOND_MODE_ALB)))
> return -ENOMEM;
>
> So you might want to also modify this code, to return the return
> value, rather than use the hard coded ENOMEM.
>

I'll modify the above and send it out a separate patch.

Thank you.