[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201106104734.GD2063125@dell>
Date: Fri, 6 Nov 2020 10:47:34 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Jiri Slaby <jirislaby@...nel.org>,
Mike Hudson <Exoray@...s.ca>, linux-serial@...r.kernel.org
Subject: Re: [PATCH 13/36] tty: serial: 8250: 8250_port: Staticify functions
referenced by pointers
On Fri, 06 Nov 2020, Greg Kroah-Hartman wrote:
> On Fri, Nov 06, 2020 at 10:05:52AM +0000, Lee Jones wrote:
> > On Fri, 06 Nov 2020, Greg Kroah-Hartman wrote:
> >
> > > On Wed, Nov 04, 2020 at 07:35:26PM +0000, Lee Jones wrote:
> > > > Fixes the following W=1 kernel build warning(s):
> > > >
> > > > drivers/tty/serial/8250/8250_port.c:349:14: warning: no previous prototype for ‘au_serial_in’ [-Wmissing-prototypes]
> > > > drivers/tty/serial/8250/8250_port.c:359:6: warning: no previous prototype for ‘au_serial_out’ [-Wmissing-prototypes]
> > > >
> > > > Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> > > > Cc: Jiri Slaby <jirislaby@...nel.org>
> > > > Cc: Mike Hudson <Exoray@...s.ca>
> > > > Cc: linux-serial@...r.kernel.org
> > > > Signed-off-by: Lee Jones <lee.jones@...aro.org>
> > > > ---
> > > > drivers/tty/serial/8250/8250_port.c | 4 ++--
> > > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > And now I get build errors of:
> > > ld: drivers/tty/serial/8250/8250_early.o: in function `early_au_setup':
> > > 8250_early.c:(.init.text+0x7): undefined reference to `au_serial_in'
> > > ld: 8250_early.c:(.init.text+0xf): undefined reference to `au_serial_out'
> > > make: *** [Makefile:1164: vmlinux] Error 1
> > >
> > > Always test-build your patches, perhaps W=1 was wrong here...
> >
> > I *always* test build my sets before posting.
>
> Great, then I should have rephrased it as:
> Always test-build your patches and fix the error found in them
> before sending.
Yes, very funny! ;)
Obviously, all of that was implied in my first reply.
The problem is not a lack of testing, it's the testing method.
I thought allmodconfig would be enough, but it appears not.
Currently investigating with allyesconfig as a drop-in replacement.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists