projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336d9df
)
efi_selftest: correct definition of efi_st_error
author
Heinrich Schuchardt
<
[email protected]
>
Thu, 5 Oct 2017 14:36:05 +0000
(16:36 +0200)
committer
Alexander Graf
<
[email protected]
>
Mon, 9 Oct 2017 05:00:35 +0000
(07:00 +0200)
Enclose definition in parantheses to allow using efi_st_error
like a void function.
Signed-off-by: Heinrich Schuchardt <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Alexander Graf <
[email protected]
>
include/efi_selftest.h
patch
|
blob
|
history
diff --git
a/include/efi_selftest.h
b/include/efi_selftest.h
index beb662d4e1b84f90055fea86983b4484f2178e82..2f0992f06eee65ed62fea3d1b2c2c33cfaab0d46 100644
(file)
--- a/
include/efi_selftest.h
+++ b/
include/efi_selftest.h
@@
-23,8
+23,8
@@
* @... format string followed by fields to print
*/
#define efi_st_error(...) \
-
efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__);
\
- efi_st_printf(__VA_ARGS__) \
+
(efi_st_printf("%s(%u):\nERROR: ", __FILE__, __LINE__),
\
+ efi_st_printf(__VA_ARGS__)
)
\
/*
* A test may be setup and executed at boottime,