]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix 32-bit DMA Mask handling
authorSomnath Kotur <somnath.kotur@emulex.com>
Tue, 11 Jun 2013 11:48:22 +0000 (17:18 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 08:28:36 +0000 (01:28 -0700)
commita09253aba6ec0cb5b1c3aa28be5008d4cff0249d
tree9fb75ccdbf97aee7b742fe4b9ecb957d3ede7cea
parent5a8ef35f6577c34293b24326d30832f12c265536
be2net: Fix 32-bit DMA Mask handling

Fix to set the coherent DMA mask only if dma_set_mask() succeeded, and to
error out if either fails.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c