diff --git a/drivers/base/platform.c b/drivers/base/platform.c index c4af00385502ffd9039bc73d1eccc2eedef33ce4..22a6430aadc36d91ea6aa7d2583ef40dd932c35a 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -396,7 +396,7 @@ int platform_device_add(struct platform_device *pdev) } if (p && insert_resource(p, r)) { - dev_err(&pdev->dev, "failed to claim resource %d\n", i); + dev_err(&pdev->dev, "failed to claim resource %d: %pR\n", i, r); ret = -EBUSY; goto failed; }