Re: [PATCH] init/main.c: Print all command line when boot

2020-05-20 Thread Masami Hiramatsu
On Tue, 19 May 2020 11:29:46 +0800 王程刚 wrote: > Function pr_notice print max length maybe less than the command line length, > need more times to print all. > For example, arm64 has 2048 bytes command line length, but printk maximum > length is only 1024 bytes. Good catch, and if you use bootcon

Re: [PATCH] init/main.c: Print all command line when boot

2020-05-19 Thread Arvind Sankar
On Mon, May 18, 2020 at 10:09:34PM -0700, Joe Perches wrote: > On Mon, 2020-05-18 at 20:44 -0700, Andrew Morton wrote: > > On Tue, 19 May 2020 11:29:46 +0800 王程刚 wrote: > > > > > Function pr_notice print max length maybe less than the command line > > > length, > > > need more times to print all

Re: [PATCH] init/main.c: Print all command line when boot

2020-05-18 Thread Joe Perches
On Mon, 2020-05-18 at 20:44 -0700, Andrew Morton wrote: > On Tue, 19 May 2020 11:29:46 +0800 王程刚 wrote: > > > Function pr_notice print max length maybe less than the command line length, > > need more times to print all. > > For example, arm64 has 2048 bytes command line length, but printk maximu

Re: [PATCH] init/main.c: Print all command line when boot

2020-05-18 Thread Andrew Morton
On Tue, 19 May 2020 11:29:46 +0800 王程刚 wrote: > Function pr_notice print max length maybe less than the command line length, > need more times to print all. > For example, arm64 has 2048 bytes command line length, but printk maximum > length is only 1024 bytes. I can see why that might be a prob

[PATCH] init/main.c: Print all command line when boot

2020-05-18 Thread 王程刚
Function pr_notice print max length maybe less than the command line length, need more times to print all. For example, arm64 has 2048 bytes command line length, but printk maximum length is only 1024 bytes. Signed-off-by: Chenggang Wang --- init/main.c | 12 +++- 1 file changed, 11 inse