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

Allen allen.lkml at gmail.com
Wed Sep 13 13:05:58 UTC 2017


> 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.


More information about the Nouveau mailing list