Re: [PATCH v2 1/2] printk: Fix panic caused by passing log_buf_len to command line
From: Sergey Senozhatsky
Date: Tue Sep 25 2018 - 08:37:26 EST
On (09/25/18 14:23), Petr Mladek wrote:
>
> Thanks for pointing this out. Well, it seems that the change would
> require a new syscall to pass the buffer size as long. We need to
> be sure that people would use this in the real life.
Agreed.
> This thread suggested this change to avoid a checkpatch warning.
Not exactly. I suggested u64 change not because of a checkpatch
warning. But because of u64 memparse() return and because of potential
log_buf_len=4G+
-ss