Skip to content

Commit 3034d11

Browse files
Andi KleenAndi Kleen
authored andcommitted
[PATCH] Don't print virtual address in HPET initialization
virtual addresses don't belong into kernel logs for non debugging Cc: clemens@ladisch.de Signed-off-by: Andi Kleen <ak@suse.de>
1 parent d3a4f48 commit 3034d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/char/hpet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,8 +868,8 @@ int hpet_alloc(struct hpet_data *hdp)
868868
do_div(temp, period);
869869
hpetp->hp_tick_freq = temp; /* ticks per second */
870870

871-
printk(KERN_INFO "hpet%d: at MMIO 0x%lx (virtual 0x%p), IRQ%s",
872-
hpetp->hp_which, hdp->hd_phys_address, hdp->hd_address,
871+
printk(KERN_INFO "hpet%d: at MMIO 0x%lx, IRQ%s",
872+
hpetp->hp_which, hdp->hd_phys_address,
873873
hpetp->hp_ntimer > 1 ? "s" : "");
874874
for (i = 0; i < hpetp->hp_ntimer; i++)
875875
printk("%s %d", i > 0 ? "," : "", hdp->hd_irq[i]);

0 commit comments

Comments
 (0)