projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d391a
)
cpc925_edac: Use proper array termination
author
Jingoo Han
<jg1.han@samsung.com>
Mon, 12 Aug 2013 02:54:57 +0000
(11:54 +0900)
committer
Borislav Petkov
<bp@suse.de>
Wed, 14 Aug 2013 10:46:46 +0000
(12:46 +0200)
The struct should be terminated by using empty braces in order to
fix the following sparse warning.
drivers/edac/cpc925_edac.c:792:10: warning: Using plain integer as NULL pointer
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
[ drop obvious comment ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/cpc925_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/cpc925_edac.c
b/drivers/edac/cpc925_edac.c
index
7f3c571
..
df6575f
100644
(file)
--- a/
drivers/edac/cpc925_edac.c
+++ b/
drivers/edac/cpc925_edac.c
@@
-789,7
+789,7
@@
static struct cpc925_dev_info cpc925_devs[] = {
.exit = cpc925_htlink_exit,
.check = cpc925_htlink_check,
},
- {
0}, /* Terminated by NULL */
+ {
}
};
/*