Skip to content

Commit d99db3b

Browse files
tititiou36gregkh
authored andcommitted
bnx2: Fix an error message
[ Upstream commit 8ccffe9 ] Fix an error message and report the correct failing function. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent ff7dfcd commit d99db3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/broadcom

drivers/net/ethernet/broadcom/bnx2.c

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

0 commit comments

Comments
 (0)