From fa29d4cd3d6d367f19ed8c5637fde0f9848eca6d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 29 Dec 2014 12:14:52 +0000 Subject: [PATCH] scst_lib: Convert spaces into tabs (reported by checkpatch) git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5958 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 96dd1b35e..10df01f74 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -109,12 +109,12 @@ char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) */ int hex_to_bin(char ch) { - if (ch >= '0' && ch <= '9') - return ch - '0'; - ch = tolower(ch); - if (ch >= 'a' && ch <= 'f') - return ch - 'a' + 10; - return -1; + if (ch >= '0' && ch <= '9') + return ch - '0'; + ch = tolower(ch); + if (ch >= 'a' && ch <= 'f') + return ch - 'a' + 10; + return -1; } EXPORT_SYMBOL(hex_to_bin); #endif