Commit 75a9551f authored by Jingoo Han's avatar Jingoo Han Committed by Borislav Petkov

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: default avatarJingoo Han <jg1.han@samsung.com>
[ drop obvious comment ]
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent e0d391ab
...@@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = { ...@@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
.exit = cpc925_htlink_exit, .exit = cpc925_htlink_exit,
.check = cpc925_htlink_check, .check = cpc925_htlink_check,
}, },
{0}, /* Terminated by NULL */ { }
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment