From 8b3637c662e8a322f542942e5ee76b95ed9d9e39 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Thu, 13 Oct 2011 13:03:47 +0000 Subject: common: cosmetic: CONFIG_ROOTPATH checkpatch compliance Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals. Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk Acked-by: Mike Frysinger --- common/env_common.c | 2 +- common/env_embedded.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/env_common.c b/common/env_common.c index 19149b513d..596af82d7b 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -100,7 +100,7 @@ const uchar default_environment[] = { "preboot=" CONFIG_PREBOOT "\0" #endif #ifdef CONFIG_ROOTPATH - "rootpath=" MK_STR(CONFIG_ROOTPATH) "\0" + "rootpath=" CONFIG_ROOTPATH "\0" #endif #ifdef CONFIG_GATEWAYIP "gatewayip=" MK_STR(CONFIG_GATEWAYIP) "\0" diff --git a/common/env_embedded.c b/common/env_embedded.c index e438575d44..9b3018a484 100644 --- a/common/env_embedded.c +++ b/common/env_embedded.c @@ -154,7 +154,7 @@ env_t environment __PPCENV__ = { "autoload=" CONFIG_SYS_AUTOLOAD "\0" #endif #ifdef CONFIG_ROOTPATH - "rootpath=" MK_STR(CONFIG_ROOTPATH) "\0" + "rootpath=" CONFIG_ROOTPATH "\0" #endif #ifdef CONFIG_GATEWAYIP "gatewayip=" MK_STR(CONFIG_GATEWAYIP) "\0" -- cgit