Re: [PATCH v3 19/27] thunderbolt: Add new Thunderbolt PCI IDs

From: Greg Kroah-Hartman
Date: Mon Jun 05 2017 - 11:20:45 EST


On Mon, Jun 05, 2017 at 05:21:34PM +0300, Andy Shevchenko wrote:
> On Mon, 2017-06-05 at 16:33 +0300, Mika Westerberg wrote:
> > On Mon, Jun 05, 2017 at 03:55:07PM +0300, Mika Westerberg wrote:
> > > >
>
> > It turns out that this is not too big change after all so I think it
> > can
> > be included in the ICM patch if you want.
> >
> > Basically we would have module parameter:
> >
> > cm=auto|native|icm
> >
> > where auto is the default.
> >
> > Does that work?
>
>
> I remember Greg is opposite to being fan of module parameters in new
> code, so, please, if you are still going to do that, do it a separate
> patch which will be last in the series and can be discussed separately
> w.o. preventing everything else being applied.

Yes, you should never need module parameters in "modern" code. As no
one will ever set them, or know what to do here. Make it "automatic"
please.

thanks,

greg k-h