Re: [patch v1 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

From: Andy Shevchenko
Date: Thu Oct 27 2016 - 11:38:11 EST


On Thu, 2016-10-27 at 15:26 +0000, Vadim Pasternak wrote:
> > -----Original Message-----
> > From: Andy Shevchenko [mailto:andriy.shevchenko@xxxxxxxxxxxxxxx]
> > Sent: Thursday, October 27, 2016 4:59 PM
> > To: Vadim Pasternak <vadimp@xxxxxxxxxxxx>; dvhart@xxxxxxxxxxxxx;
> > fengguang.wu@xxxxxxxxx
> > Cc: davem@xxxxxxxxxxxxx; geert@xxxxxxxxxxxxxx; akpm@linux-
> > foundation.org; kvalo@xxxxxxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx;
> > mchehab@xxxxxxxxxx; linux@xxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> > ;
> > platform-driver-x86@xxxxxxxxxxxxxxx; jiri@xxxxxxxxxxx
> > Subject: Re: [patch v1 1/2] drivers/platform/x86: move module mlx-
> > platform
> > from arch/x86 to drivers/platform/x86
> >
> > On Thu, 2016-10-27 at 13:59 +0000, vadimp@xxxxxxxxxxxx wrote:
> > > From: Vadim Pasternak <vadimp@xxxxxxxxxxxx>
> > >
> > > Move module mlx-platform.c from arch/x86/platform/mellanox/ to
> > > drivers/platform/x86/.
> > > Remove folder arch/x86/platform/mellanox/ and update relevant
> > > Makefile
> > > and Kconfig.
> >
> > No way, please use -M -C.
> >
>
>
> Hi Andy,
>
> I am afraid I didn't understand your comment.
> Could you, please, add some more details?

When you prepare patchesÂwhere files are copied and/or moved add those
command line options. It is the case for this patch.

Moreover I forgot to mention -n (link your patches into an e-mail
thread) if you consider them dependent.

More details are available in help of git format-patch.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy