From 3c7dded8e179ee213c8267c892720b84a7a59fd5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:04 -0600 Subject: Fix some checkpatch warnings in calls to debug() Fix up some incorrect code style in calls to functions in the log.h header, mostly debug(). Signed-off-by: Simon Glass --- common/flash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/flash.c') diff --git a/common/flash.c b/common/flash.c index cde648d4b8..115062a45c 100644 --- a/common/flash.c +++ b/common/flash.c @@ -41,7 +41,7 @@ flash_protect(int flag, ulong from, ulong to, flash_info_t *info) debug("%s %s: from 0x%08lX to 0x%08lX\n", __func__, (flag & FLAG_PROTECT_SET) ? "ON" : - (flag & FLAG_PROTECT_CLEAR) ? "OFF" : "???", + (flag & FLAG_PROTECT_CLEAR) ? "OFF" : "???", from, to); /* There is nothing to do if we have no data about the flash @@ -67,7 +67,7 @@ flash_protect(int flag, ulong from, ulong to, flash_info_t *info) #else info->protect[i] = 0; #endif /* CONFIG_SYS_FLASH_PROTECTION */ - debug ("protect off %d\n", i); + debug("protect off %d\n", i); } else if (flag & FLAG_PROTECT_SET) { #if defined(CONFIG_SYS_FLASH_PROTECTION) @@ -75,7 +75,7 @@ flash_protect(int flag, ulong from, ulong to, flash_info_t *info) #else info->protect[i] = 1; #endif /* CONFIG_SYS_FLASH_PROTECTION */ - debug ("protect on %d\n", i); + debug("protect on %d\n", i); } } } -- cgit