We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ec686 commit 619bac6Copy full SHA for 619bac6
drivers/char/hpet.c
@@ -865,11 +865,11 @@ int hpet_alloc(struct hpet_data *hdp)
865
do_div(temp, period);
866
hpetp->hp_tick_freq = temp; /* ticks per second */
867
868
- printk(KERN_INFO "hpet%d: at MMIO 0x%lx, IRQ%s",
+ printk(KERN_INFO "hpet%u: at MMIO 0x%lx, IRQ%s",
869
hpetp->hp_which, hdp->hd_phys_address,
870
hpetp->hp_ntimer > 1 ? "s" : "");
871
for (i = 0; i < hpetp->hp_ntimer; i++)
872
- printk(KERN_CONT "%s %d", i > 0 ? "," : "", hdp->hd_irq[i]);
+ printk(KERN_CONT "%s %u", i > 0 ? "," : "", hdp->hd_irq[i]);
873
printk(KERN_CONT "\n");
874
875
temp = hpetp->hp_tick_freq;
0 commit comments