[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452810221-116505-6-git-send-email-andriy.shevchenko@linux.intel.com>
Date: Fri, 15 Jan 2016 00:23:35 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Robert Elliott <elliott@....com>,
Matt Fleming <matt@...eblueprint.co.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Brian Norris <computersforpeace@...il.com>,
Hariprasad S <hariprasad@...lsio.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v2 05/11] lib/string_helpers: fix indentation in few places
Fix the indentation of label and put snprintf() to one line.
There is no functional change.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
lib/string_helpers.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/string_helpers.c b/lib/string_helpers.c
index c62acc0..6e91f31 100644
--- a/lib/string_helpers.c
+++ b/lib/string_helpers.c
@@ -117,14 +117,13 @@ void string_get_size(u64 size, u64 blk_size, const enum string_size_units units,
tmp[j+1] = '\0';
}
- out:
+out:
if (i >= STRING_UNITS_2_NUM)
unit = "UNK";
else
unit = units_str[units][i];
- snprintf(buf, len, "%u%s %s", (u32)size,
- tmp, unit);
+ snprintf(buf, len, "%u%s %s", (u32)size, tmp, unit);
}
EXPORT_SYMBOL(string_get_size);
--
2.6.4
Powered by blists - more mailing lists