]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mt7530: Use NULL instead of plain integer
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 2 Apr 2018 23:24:14 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2018 15:15:49 +0000 (11:15 -0400)
commitaaaabe4bbd07a5afa24d727cd52ef4a98cbd6c2c
tree7d7d653bc98f262974dea5e74a68475cc5112aee
parentecc05ca3a9f7e9126767ac8a28e885d04c089558
net: dsa: mt7530: Use NULL instead of plain integer

We would be passing 0 instead of NULL as the rsp argument to
mt7530_fdb_cmd(), fix that.

Fixes: 6c2eb115dba9 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c