jme: Fix DMA unmap warning
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 5 May 2014 18:51:47 +0000 (14:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 May 2014 19:54:14 +0000 (15:54 -0400)
The jme driver forgot to check the return status from pci_map_page in its tx
path, causing a dma api warning on unmap.  Easy fix, just do the check and
augment the tx path to tell the stack that the driver is busy so we re-queue the
frame.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Guo-Fu Tseng <cooldavid@cooldavid.org>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/jme.c

Simple merge