OSDN Git Service

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)
commit18bd5949e5c825f29f022b9ac46474d2e95b4eb0
tree7d7d653bc98f262974dea5e74a68475cc5112aee
parent861690d0543949633c97ebe9b2fcd55c27b9bda4
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: b8f126a8d543 ("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