On Fri, 29 Oct 2021 17:54:05 -0700 Dexuan Cui <decui@xxxxxxxxxxxxx> wrote: > diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/ethernet/microsoft/mana/mana_en.c > index 1417d1e72b7b..4ff5a1fc506f 100644 > --- a/drivers/net/ethernet/microsoft/mana/mana_en.c > +++ b/drivers/net/ethernet/microsoft/mana/mana_en.c > @@ -1599,7 +1599,8 @@ static int mana_init_port(struct net_device *ndev) > err = mana_query_vport_cfg(apc, port_idx, &max_txq, &max_rxq, > &num_indirect_entries); > if (err) { > - netdev_err(ndev, "Failed to query info for vPort 0\n"); > + netdev_err(ndev, "Failed to query info for vPort %d\n", > + port_idx); Shouldn't port_idx have been unsigned or u16? It is u16 in mana_port_context.