Skip to content

Commit ee8c3f6

Browse files
0mhumarckleinebudde
authored andcommitted
can: m_can: Removed virtual address from print
The virtual address of the device was printed. I removed it because it leaks internal information. Signed-off-by: Mario Huettel <[email protected]> Tested-by: Quentin Schulz <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 8f26589 commit ee8c3f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/can/m_can/m_can.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,8 +1231,8 @@ static int m_can_plat_probe(struct platform_device *pdev)
12311231

12321232
devm_can_led_init(dev);
12331233

1234-
dev_info(&pdev->dev, "%s device registered (regs=%p, irq=%d)\n",
1235-
KBUILD_MODNAME, priv->base, dev->irq);
1234+
dev_info(&pdev->dev, "%s device registered (irq=%d)\n",
1235+
KBUILD_MODNAME, dev->irq);
12361236

12371237
return 0;
12381238

0 commit comments

Comments
 (0)