summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_const.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2020-03-09 06:52:41 +0300
committerAnup Patel <anup@brainfault.org>2020-03-10 07:57:28 +0300
commit650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8 (patch)
tree579e92ff39fa780818fe483337850d28df5ddb15 /include/sbi/sbi_const.h
parent6e87507db6ce7be39ccccb33d6283814f0283c09 (diff)
downloadopensbi-650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8.tar.xz
lib: sbi: Fix coding style issues
This fixes various coding style issues found in the SBI codes. No functional changes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_const.h')
-rw-r--r--include/sbi/sbi_const.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sbi/sbi_const.h b/include/sbi/sbi_const.h
index 423d2cf..3786654 100644
--- a/include/sbi/sbi_const.h
+++ b/include/sbi/sbi_const.h
@@ -10,7 +10,8 @@
#ifndef __SBI_CONST_H__
#define __SBI_CONST_H__
-/* Some constant macros are used in both assembler and
+/*
+ * Some constant macros are used in both assembler and
* C code. Therefore we cannot annotate them always with
* 'UL' and other type specifiers unilaterally. We
* use the following macros to deal with this.
@@ -39,8 +40,8 @@
#define UL(x) (_UL(x))
#define ULL(x) (_ULL(x))
-#define __STR(s) #s
-#define STRINGIFY(s) __STR(s)
+#define __STR(s) #s
+#define STRINGIFY(s) __STR(s)
/* clang-format on */