[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<PAXPR04MB85103E1007BD2EEFDE93D40C88522@PAXPR04MB8510.eurprd04.prod.outlook.com>
Date: Tue, 5 Nov 2024 01:50:03 +0000
From: Wei Fang <wei.fang@....com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: Networking <netdev@...r.kernel.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>, David Miller <davem@...emloft.net>, Jakub
Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: RE: linux-next: manual merge of the net-next tree with the net tree
> Hi all,
>
> Today's linux-next merge of the net-next tree got a conflict in:
>
> drivers/net/ethernet/freescale/enetc/enetc_pf.c
>
> between commit:
>
> e15c5506dd39 ("net: enetc: allocate vf_state during PF probes")
>
> from the net tree and commit:
>
> 3774409fd4c6 ("net: enetc: build enetc_pf_common.c as a separate
> module")
>
> from the net-next tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
Sorry for the merge conflict. I really appreciate your help in fixing it,
that's great.
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc drivers/net/ethernet/freescale/enetc/enetc_pf.c
> index c95a7c083b0f,a76ce41eb197..000000000000
> --- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c
> +++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
> @@@ -1277,12 -1024,7 +1015,13 @@@ static int enetc_pf_probe(struct
> pci_de
> pf = enetc_si_priv(si);
> pf->si = si;
> pf->total_vfs = pci_sriov_get_totalvfs(pdev);
> + if (pf->total_vfs) {
> + pf->vf_state = kcalloc(pf->total_vfs, sizeof(struct enetc_vf_state),
> + GFP_KERNEL);
> + if (!pf->vf_state)
> + goto err_alloc_vf_state;
> + }
> + pf->ops = &enetc_pf_ops;
>
> err = enetc_setup_mac_addresses(node, pf);
> if (err)
Powered by blists - more mailing lists