OSDN Git Service

net: stmmac: xgmac: Correctly return that RX descriptor is not last one
authorJose Abreu <Jose.Abreu@synopsys.com>
Sat, 17 Aug 2019 18:54:42 +0000 (20:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:43:59 +0000 (12:43 -0700)
commitc887e02a938d7cae9837322448de0af2dd75ee1d
treeaf9e770b9c6162228ac71f9e09fbc14efee2ff54
parentec222003bd948de8f3ffbca522d328af1a8452ad
net: stmmac: xgmac: Correctly return that RX descriptor is not last one

Return the correct value when RX descriptor is not the last one.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c