Re: [PATCH v2 05/17] sh: command line passing chosen/bootargs in devicetree

From: Sergei Shtylyov
Date: Sun Jun 12 2016 - 07:32:57 EST


On 6/12/2016 9:54 AM, Yoshinori Sato wrote:

Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
---
arch/sh/kernel/setup.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 8e3b099..d97de16 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -280,6 +280,8 @@ void __init setup_arch(char **cmdline_p)
#endif
enable_mmu();

+

Another empty line hardly needed here.

+#ifndef CONFIG_OF
ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV);

printk(KERN_NOTICE "Boot params:\n"
[...]

MBR, Sergei