diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 505663bb4f1f8a..b77150ad1965a2 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -1098,7 +1098,7 @@ void __init setup_log_buf(int early) { unsigned long flags; char *new_log_buf; - int free; + unsigned int free; if (log_buf != __log_buf) return;