Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3034d11c authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
parent d3a4f48d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -868,8 +868,8 @@ int hpet_alloc(struct hpet_data *hdp)
	do_div(temp, period);
	hpetp->hp_tick_freq = temp; /* ticks per second */

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