commit | 76a691d0ab71a244f7582a5b0387728befbdb52f | [log] [tgz] |
---|---|---|
author | Neil Horman <nhorman@tuxdriver.com> | Mon May 05 14:51:47 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed May 07 15:54:14 2014 -0400 |
tree | 242054eac68746967068475bb81a2ce890d6d9dd | |
parent | d32aebfd64c8c8649b39cd6789b141525cc9d7c0 [diff] |
jme: Fix DMA unmap warning 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>