Skip to content

Commit

Permalink
cpc925_edac: Use proper array termination
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Borislav Petkov committed Aug 14, 2013
1 parent e0d391a commit 75a9551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/edac/cpc925_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ static struct cpc925_dev_info cpc925_devs[] = {
.exit = cpc925_htlink_exit,
.check = cpc925_htlink_check,
},
{0}, /* Terminated by NULL */
{ }
};

/*
Expand Down

0 comments on commit 75a9551

Please sign in to comment.