diff mbox

[08/25] sparse: declare opal_err_info as static

Message ID 1424776479-13958-9-git-send-email-clg@fr.ibm.com
State Accepted
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 include/errorlog.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vasant Hegde Feb. 24, 2015, 4:07 p.m. UTC | #1
On 02/24/2015 04:44 PM, Cédric Le Goater wrote:
> Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>

Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>

-Vasant
diff mbox

Patch

diff --git a/include/errorlog.h b/include/errorlog.h
index 49c60cfb05fb..51af88c423f1 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -320,7 +320,7 @@  enum opal_reasoncode {
 };
 
 #define DEFINE_LOG_ENTRY(reason, type, id, subsys,			\
-severity, subtype, callout_func) struct opal_err_info err_##reason =	\
+severity, subtype, callout_func) static struct opal_err_info err_##reason =	\
 { .reason_code = reason, .err_type = type, .cmp_id = id,		\
 .subsystem = subsys, .sev = severity, .event_subtype = subtype,		\
 .call_out = callout_func }