We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efb943 commit 89f5f8fCopy full SHA for 89f5f8f
drivers/edac/thunderx_edac.c
@@ -1368,7 +1368,7 @@ static int thunderx_ocx_probe(struct pci_dev *pdev,
1368
name, 1, "CCPI", 1,
1369
0, NULL, 0, idx);
1370
if (!edac_dev) {
1371
- dev_err(&pdev->dev, "Cannot allocate EDAC device: %d\n", ret);
+ dev_err(&pdev->dev, "Cannot allocate EDAC device\n");
1372
return -ENOMEM;
1373
}
1374
ocx = edac_dev->pvt_info;
@@ -1380,7 +1380,7 @@ static int thunderx_ocx_probe(struct pci_dev *pdev,
1380
1381
ocx->regs = pcim_iomap_table(pdev)[0];
1382
if (!ocx->regs) {
1383
- dev_err(&pdev->dev, "Cannot map PCI resources: %d\n", ret);
+ dev_err(&pdev->dev, "Cannot map PCI resources\n");
1384
ret = -ENODEV;
1385
goto err_free;
1386
0 commit comments