net: stmmac: Cocci spatch "of_table"
authorThomas Meyer <thomas@m3y3r.de>
Thu, 21 Sep 2017 06:24:27 +0000 (08:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:26:26 +0000 (15:26 -0700)
commitf0ef1f4f2b772c0a1c8b35a6ae3edf974cc110dd
tree69422bbf4be127004f88f702ac51aa7036f7fc24
parent687740cebbea7ec56da13b82be6be6d4164e5bb4
net: stmmac: Cocci spatch "of_table"

Make sure (of/i2c/platform)_device_id tables are NULL terminated.
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c