Re: [PATCH v3 0/7] staging: rtl8188eu: replace driver with better version

From: Phillip Potter
Date: Tue Jul 27 2021 - 10:35:11 EST


On Tue, 27 Jul 2021 at 15:28, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Jul 27, 2021 at 09:13:09AM -0500, Larry Finger wrote:
> > On 7/27/21 8:47 AM, Greg KH wrote:
> > > On Tue, Jul 27, 2021 at 02:25:34PM +0100, Phillip Potter wrote:
> > > > On Tue, 27 Jul 2021 at 14:06, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > > > >
> > > > > On Sat, Jul 24, 2021 at 01:10:48AM +0100, Phillip Potter wrote:
> > > > > > I had to break this patchset up a bit to get around the file size limits
> > > > > > on the mailing list, and also I removed the hostapd stuff which is
> > > > > > userspace related and therefore not required.
> > > > > >
> > > > > > The driver currently in staging is older and less functional than the
> > > > > > version on Larry Finger's GitHub account, based upon v4.1.4_6773.20130222.
> > > > > > This series of patches therefore:
> > > > > >
> > > > > > (1) Removes the current driver from staging.
> > > > > > (2) Imports the GitHub version mentioned above in its place.
> > > > >
> > > > > Let's do (2) first before worrying about (1), given that we can't get a
> > > > > version of (2) that actually builds yet :)
> > > > >
> > > > > thanks,
> > > > >
> > > > > greg k-h
> > > >
> > > > Dear Greg,
> > > >
> > > > I'm confused - v3 patchset builds fine for me after applying in
> > > > sequence from 1 to 7?
> > >
> > > Why does kbuild report problems?
> > >
> > > Anyway, please let's just add the new driver in a new directory, get it
> > > building, and then we can remove the old one. That way patches will
> > > continue to work and there's no confusion when backporting patches as
> > > the code bases are different.
> >
> > I get no kbuild problems in the staging-next branch. I have no idea why the
> > test robot is reporting errors.
> >
> > Keeping the old rtl8188eu directory and builds will result in 3 drivers
> > competing for the hardware including rtl8xxxu, rtl8188eu, and r8188eu.
>
> I will only "keep" it around for a day at most. I will delete the old
> driver, I just do not want the "new" driver in the same directory as the
> existing one to make it easier to handle changes over time.
>
> thanks,
>
> greg k-h

OK I'll do another patch set tonight after work without the removal
patch at the start and with the new driver integrated into kbuild
alongside old one - the directory name is different already, but they
share the same module .ko name - will leave this as-is if the old
driver is scheduled for deletion soon though. Many thanks.

Regards,
Phil