Skip to content

Commit aa0d692

Browse files
AmanJain27intel-lab-lkp
authored andcommitted
This patch replaces all the instances of dev_info with drm_info macro
When a driver has multiple instances it is necessary to differentiate between them in the logs. This was done with dev_info/warn/err since DRM_INFO/WARN/ERROR don't do this. We now have drm_info/warn/err for printing the relevant debug messages. Hence, this patch uses drm_* macros to achieve drm-formatted logging Signed-off-by: Aman Jain <ahjain2706@gmail.com>
1 parent a96bfed commit aa0d692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/radeon/radeon_drv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ static int radeon_pci_probe(struct pci_dev *pdev,
308308
case CHIP_VERDE:
309309
case CHIP_OLAND:
310310
case CHIP_HAINAN:
311-
dev_info(&pdev->dev,
311+
drm_info(&pdev->dev,
312312
"SI support disabled by module param\n");
313313
return -ENODEV;
314314
}
@@ -320,7 +320,7 @@ static int radeon_pci_probe(struct pci_dev *pdev,
320320
case CHIP_HAWAII:
321321
case CHIP_KABINI:
322322
case CHIP_MULLINS:
323-
dev_info(&pdev->dev,
323+
drm_info(&pdev->dev,
324324
"CIK support disabled by module param\n");
325325
return -ENODEV;
326326
}

0 commit comments

Comments
 (0)