Re: [PATCH] nds32: add NULL entry to the end of_device_id array

2018-08-08 Thread Greentime Hu
YueHaibing 於 2018年8月7日 週二 下午12:03寫道: > > Make sure of_device_id tables are NULL terminated. > Found by coccinelle spatch "misc/of_table.cocci" > > Signed-off-by: YueHaibing > --- > arch/nds32/kernel/atl2c.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

[PATCH] nds32: add NULL entry to the end of_device_id array

2018-08-06 Thread YueHaibing
Make sure of_device_id tables are NULL terminated. Found by coccinelle spatch "misc/of_table.cocci" Signed-off-by: YueHaibing --- arch/nds32/kernel/atl2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/nds32/kernel/atl2c.c b/arch/nds32/kernel/atl2c.c index