mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user