]> 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)
commit031611c2662f493d43612aa256c6820baa66dd4c
tree7d7d653bc98f262974dea5e74a68475cc5112aee
parentd271f0cad22a805765b3ad27dadf485d600d084f
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: b2cac9613626 ("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