OSDN Git Service

net: mana: Fix the netdev_err()'s vPort argument in mana_init_port()
authorDexuan Cui <decui@microsoft.com>
Sat, 30 Oct 2021 00:54:05 +0000 (17:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2021 13:21:49 +0000 (13:21 +0000)
commit6c7ea69653e4e5f5faf800cbf51d2285de12e17f
treedea40813a01b2fcc8fb2e08ff8df248ae65392d0
parent986d2e3da7d7f24c16d419f926c65af1a994a04a
net: mana: Fix the netdev_err()'s vPort argument in mana_init_port()

Use the correct port index rather than 0.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microsoft/mana/mana_en.c