]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: micrel: fix an error code
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Aug 2015 08:54:59 +0000 (11:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2015 19:23:22 +0000 (12:23 -0700)
commit2902bc66fa7a6d959e033e5358fd836e2839b5db
treec1fa8dd88ea0f95e2590d38b9faf0f69e503de99
parent8cb775bc0a34dc596837e7da03fd22c747be618b
net: ethernet: micrel: fix an error code

The dma_mapping_error() function returns true or false.  We should
return -ENOMEM if it there is a dma mapping error.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8842.c