[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201116090231.423afc8f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 16 Nov 2020 09:02:31 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: Hayes Wang <hayeswang@...ltek.com>, netdev@...r.kernel.org,
nic_swsd@...ltek.com, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [PATCH net-next] r8153_ecm: avoid to be prior to r8152 driver
On Mon, 16 Nov 2020 10:18:13 +0100 Marek Szyprowski wrote:
> On 16.11.2020 07:52, Hayes Wang wrote:
> > Avoid r8153_ecm is compiled as built-in, if r8152 driver is compiled
> > as modules. Otherwise, the r8153_ecm would be used, even though the
> > device is supported by r8152 driver.
> >
> > Fixes: c1aedf015ebd ("net/usb/r8153_ecm: support ECM mode for RTL8153")
> > Reported-by: Marek Szyprowski <m.szyprowski@...sung.com>
> > Signed-off-by: Hayes Wang <hayeswang@...ltek.com>
>
> Yes, this fixes this issue, although I would prefer a separate Kconfig
> entry for r8153_ecm with proper dependencies instead of this ifdefs in
> Makefile.
Agreed, this is what dependency resolution is for.
Let's just make this a separate Kconfig entry.
Powered by blists - more mailing lists