Thread (21 messages) 21 messages, 8 authors, 2017-10-12

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

From: Allen <hidden>
Date: 2017-09-13 13:06:05
Also in: dri-devel, linux-btrfs, linux-crypto, linux-scsi, lkml, netdev, nouveau, target-devel

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help