Skip to content

Commit 8ccffe9

Browse files
tititiou36davem330
authored andcommitted
bnx2: Fix an error message
Fix an error message and report the correct failing function. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f1fb205 commit 8ccffe9

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/broadcom

1 file changed

+1
-1
lines changed

drivers/net/ethernet/broadcom/bnx2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8216,7 +8216,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
82168216
rc = dma_set_coherent_mask(&pdev->dev, persist_dma_mask);
82178217
if (rc) {
82188218
dev_err(&pdev->dev,
8219-
"pci_set_consistent_dma_mask failed, aborting\n");
8219+
"dma_set_coherent_mask failed, aborting\n");
82208220
goto err_out_unmap;
82218221
}
82228222
} else if ((rc = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32))) != 0) {

0 commit comments

Comments
 (0)