Re: linux-next: manual merge of the drivers-x86 tree with the tip tree
From: Andy Shevchenko
Date: Mon Oct 08 2018 - 06:55:22 EST
On Mon, Oct 8, 2018 at 6:48 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> Today's linux-next merge of the drivers-x86 tree got a conflict in:
>
> drivers/platform/x86/intel_mid_powerbtn.c
>
> between commit:
>
> f2c4db1bd807 ("x86/cpu: Sanitize FAM6_ATOM naming")
>
> from the tip tree and commit:
>
> a8b60e484f3d ("platform/x86: intel_mid_powerbtn: Get rid of custom ICPU() macro")
>
> from the drivers-x86 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.
Thanks!
Looks good to me.
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc drivers/platform/x86/intel_mid_powerbtn.c
> index 5ad44204a9c3,a8c0fbb7f799..000000000000
> --- a/drivers/platform/x86/intel_mid_powerbtn.c
> +++ b/drivers/platform/x86/intel_mid_powerbtn.c
> @@@ -121,12 -112,9 +112,9 @@@ static const struct mid_pb_ddata mrfld_
> .setup = mrfld_setup,
> };
>
> - #define ICPU(model, ddata) \
> - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (kernel_ulong_t)&ddata }
> -
> static const struct x86_cpu_id mid_pb_cpu_ids[] = {
> - ICPU(INTEL_FAM6_ATOM_SALTWELL_MID, mfld_ddata),
> - ICPU(INTEL_FAM6_ATOM_SILVERMONT_MID, mrfld_ddata),
> - INTEL_CPU_FAM6(ATOM_PENWELL, mfld_ddata),
> - INTEL_CPU_FAM6(ATOM_MERRIFIELD, mrfld_ddata),
> ++ INTEL_CPU_FAM6(ATOM_SALTWELL_MID, mfld_ddata),
> ++ INTEL_CPU_FAM6(ATOM_SILVERMONT_MID, mrfld_ddata),
> {}
> };
>
--
With Best Regards,
Andy Shevchenko