Commit 8ccffe9a authored by Christophe JAILLET's avatar Christophe JAILLET Committed by David S. Miller
Browse files

bnx2: Fix an error message



Fix an error message and report the correct failing function.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1fb205e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8216,7 +8216,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
		rc = dma_set_coherent_mask(&pdev->dev, persist_dma_mask);
		if (rc) {
			dev_err(&pdev->dev,
				"pci_set_consistent_dma_mask failed, aborting\n");
				"dma_set_coherent_mask failed, aborting\n");
			goto err_out_unmap;
		}
	} else if ((rc = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32))) != 0) {