Re: linux-next: manual merge of the generic-ioremap tree with the net-next tree

From: Stephen Rothwell
Date: Tue Jan 28 2020 - 16:16:47 EST


Hi all,

On Tue, 28 Jan 2020 09:54:49 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> On Thu, 9 Jan 2020 16:12:02 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > Today's linux-next merge of the generic-ioremap tree got a conflict in:
> >
> > drivers/net/ethernet/sfc/efx.c
> >
> > between commit:
> >
> > f1826756b499 ("sfc: move struct init and fini code")
> >
> > from the net-next tree and commit:
> >
> > 4bdc0d676a64 ("remove ioremap_nocache and devm_ioremap_nocache")
> >
> > from the generic-ioremap tree.
> >
> > I fixed it up (the latter moved the code, so I applied the following
> > merge fix patch) 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.
> >
> > From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > Date: Thu, 9 Jan 2020 16:08:52 +1100
> > Subject: [PATCH] fix up for "sfc: move struct init and fini code"
> >
> > Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > ---
> > drivers/net/ethernet/sfc/efx_common.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/net/ethernet/sfc/efx_common.c b/drivers/net/ethernet/sfc/efx_common.c
> > index fe74c66c8ec6..bf0126633c25 100644
> > --- a/drivers/net/ethernet/sfc/efx_common.c
> > +++ b/drivers/net/ethernet/sfc/efx_common.c
> > @@ -954,7 +954,7 @@ int efx_init_io(struct efx_nic *efx, int bar, dma_addr_t dma_mask,
> > goto fail3;
> > }
> >
> > - efx->membase = ioremap_nocache(efx->membase_phys, mem_map_size);
> > + efx->membase = ioremap(efx->membase_phys, mem_map_size);
> > if (!efx->membase) {
> > netif_err(efx, probe, efx->net_dev,
> > "could not map memory BAR at %llx+%x\n",
> > --
> > 2.24.0
>
> This is now a conflict between the net-next tree and Linus' tree.

It actually turns out that this is a conflict between the
wireless-drivers tree and Linus' tree since the wireless-drivers tree
has merged most of the net-next tree.

--
Cheers,
Stephen Rothwell

Attachment: pgpSGMCY8N8Zu.pgp
Description: OpenPGP digital signature