et131x: check return value of dma_alloc_coherent
authorInsu Yun <wuninsu@gmail.com>
Tue, 16 Feb 2016 02:23:47 +0000 (21:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 04:32:05 +0000 (23:32 -0500)
commit562a9f91a0300ecaaf28722f57bcdd9cd5f38f0e
treefa67d5b783611231fef0f49e4c4a614c5ac5ce81
parent4fbe366ce304d836d53685c1dd26865dc1fea66c
et131x: check return value of dma_alloc_coherent

For error handling, dma_alloc_coherent's return value
needs to be checked, not argument.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/agere/et131x.c