From: Jingoo Han Date: Mon, 12 Aug 2013 02:54:57 +0000 (+0900) Subject: cpc925_edac: Use proper array termination X-Git-Tag: firefly_0821_release~176^2~5442^2~1^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=75a9551f2b3792686df25501f248d1de92d5da0f;p=firefly-linux-kernel-4.4.55.git cpc925_edac: Use proper array termination 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 [ drop obvious comment ] Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/cpc925_edac.c b/drivers/edac/cpc925_edac.c index 7f3c57113ba1..df6575f1430d 100644 --- 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 */ + { } }; /*