]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire()
authorAshish Kumar <Ashish.Kumar@nxp.com>
Thu, 26 Oct 2017 10:33:22 +0000 (16:03 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 14 Nov 2017 16:33:20 +0000 (08:33 -0800)
commitc9f1e3e40c924c725f900ca1f90d7979db64e37c
tree996a19d422a30ac28ef7d0c3c8f986628662b31c
parent13bef37f97bff92a9f74650b9b96c7857ceb3b5d
drivers: net: ldpaa_eth: Correct error handler for qbman_swp_acquire()

The zero value returned from qbman_swp_acquire() is an error
condition meaning no free buffer for allocation.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Kushwaha Prabhakar <prabhakar@freescale.com>
[YS: revised commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/ldpaa_eth/ldpaa_eth.c