Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1164525pxb; Fri, 6 Nov 2020 02:41:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJLmPxU0KSEJ6IT9KbrukXpkD+SETLkOgUNm2s8HkBG2hKZXMEvXQ53iZktvr7IDtZxwdf X-Received: by 2002:aa7:c792:: with SMTP id n18mr1288619eds.209.1604659308388; Fri, 06 Nov 2020 02:41:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604659308; cv=none; d=google.com; s=arc-20160816; b=h6XEOGfA3WGfsDe3obhN7/K0vj+yIUkfA89T47PUITXdAhNxAT5TneG2Z8ffJ3L1bL 5sZJV+vbE9VykZO2sCJw0Kgor/3MwdKMn3RrNNqTV7gRSXVRKP7WbJ+B+rGoCwsSDNSE nHKj3Hq77JJmIhXfcLaz7kbo92HJiAuG6KihMVgJ4yJHqxtj1vmUM+QNBF2vTg/J0YnQ lxax7XuYwU8z2X2X1o9rJObnTKFNbprtb+f5vcDsYeBzvVvPuu88WQoMqmcmj4jnl4x+ 57ZGNSzBrlF3dYra/6QzxvFJ+Oup5TlZz3VQSh+ScEkq3RfwK9a3UN2hA1xZJozo2gGu QjOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4c2aKFTluloUoFGWcIwxBrhqOCtJXRyqISU8WuzBFmM=; b=0DkfFcOvQ3VtiUqJKThVAqVsoDPBZqHvST5RyaY3X8dIuf4Vl2XGy4CEIFgYmyniGi CuyXlwJHHxgTNBrqwc/bP+DQWFz4SQreUYrnl7jYhY4at2KZrOevwY+ViQnLNBHAX4/t C/HZ3SuwjCu2H0SiBeIflvStNuGPJsJ6U00rjumsVewykaQv7ai6SV0Wkfhtk4sfYXK2 tguYFHpEg0pUi/ratm56BtBu1z4CiENTIl+6YU+w1lMjxZFPaXXAX3SdUStMwuhghHSj yPUjxUYJbCSWGHrCvtYWC3LrvL6Hxn1SNANBV+msRys62CEq7E32BdVeHprJFncQ7Vw4 1mOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PV5s4CRc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si656035eds.368.2020.11.06.02.41.25; Fri, 06 Nov 2020 02:41:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PV5s4CRc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727096AbgKFKjL (ORCPT + 99 others); Fri, 6 Nov 2020 05:39:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:34754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbgKFKjL (ORCPT ); Fri, 6 Nov 2020 05:39:11 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0F31C20702; Fri, 6 Nov 2020 10:39:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604659148; bh=f1ZupIgT+0W8r2Fh/UDIIdQVJ33pvudtSun0lDLJ94k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PV5s4CRcGa+xOskrkM363gL5iQmV0vH8CZSTmB8CTlTI55h4rSuV12P18zt+LNS2a mZGoMlHsnQWPDVh8WUBkxu4nWIwXVVYYUsRQfF7BkcCYKYlcOIWEUgCqECIhJuphMf DrtZmnRwdm3AwqFIj42gqquLHJWful/ae8eyPpRc= Date: Fri, 6 Nov 2020 11:39:55 +0100 From: Greg Kroah-Hartman To: Lee Jones Cc: linux-kernel@vger.kernel.org, Jiri Slaby , Mike Hudson , linux-serial@vger.kernel.org Subject: Re: [PATCH 13/36] tty: serial: 8250: 8250_port: Staticify functions referenced by pointers Message-ID: <20201106103955.GA2784089@kroah.com> References: <20201104193549.4026187-1-lee.jones@linaro.org> <20201104193549.4026187-14-lee.jones@linaro.org> <20201106095326.GA2652562@kroah.com> <20201106100552.GA2063125@dell> <20201106101646.GB2063125@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201106101646.GB2063125@dell> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 06, 2020 at 10:16:46AM +0000, Lee Jones wrote: > On Fri, 06 Nov 2020, 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 > > > > Cc: Jiri Slaby > > > > Cc: Mike Hudson > > > > Cc: linux-serial@vger.kernel.org > > > > Signed-off-by: Lee Jones > > > > --- > > > > 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 > > > > > > > I *always* test build my sets before posting. > > > > /investigating > > What config failed for you? > > It looks as though SERIAL_8250_CONSOLE is a bool and doesn't appear to > be compiled with allmodconfig builds for any architecture that I test > against (Arm, Arm64, MIPS, PPC, x86). I build on x86, and here's what I have set: CONFIG_SERIAL_EARLYCON=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y CONFIG_SERIAL_8250_PNP=y CONFIG_SERIAL_8250_16550A_VARIANTS=y CONFIG_SERIAL_8250_FINTEK=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_DMA=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_EXAR=y CONFIG_SERIAL_8250_NR_UARTS=16 CONFIG_SERIAL_8250_RUNTIME_UARTS=8 CONFIG_SERIAL_8250_EXTENDED=y # CONFIG_SERIAL_8250_MANY_PORTS is not set # CONFIG_SERIAL_8250_SHARE_IRQ is not set # CONFIG_SERIAL_8250_DETECT_IRQ is not set # CONFIG_SERIAL_8250_RSA is not set CONFIG_SERIAL_8250_DWLIB=y CONFIG_SERIAL_8250_DW=m CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_UNIPHIER=m CONFIG_SERIAL_8250_LPSS=y CONFIG_SERIAL_8250_MID=y CONFIG_SERIAL_8250_TEGRA=m