Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1169653pxb; Fri, 6 Nov 2020 02:51:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbMqTMN0HaBgOzVoobWIKiVrI8GihVDP5Dl7DB4NX3F5UuuVPfJRImuUohdq+qafaywz5i X-Received: by 2002:aa7:d787:: with SMTP id s7mr1282377edq.205.1604659918742; Fri, 06 Nov 2020 02:51:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604659918; cv=none; d=google.com; s=arc-20160816; b=RdnozcPWLuoyXA8sEa/bq8HrQSrKf940ucj3zY8/K61e58u8OoDN0aZmaFRhJvXtQB 7kX2wi3efWkICKC2B+MW9fjuqqDkSl74cP6nX+MZX7PDLKgcqG4JuEnfKSYP4ssrEf69 PW9YQbq6E7LYcj9KOsvEFXBWZQTOK5EKTxmAhYxi51Ir8j2rACsjgcyVR52BZbqFqb0y CoUy5zalpD4PKmm/fSKCneU3osEtwLnZFLIq9dP6Velz8Wva28Hm7bN7l3nyd1GhfKjB 39UyF1DSuzwYc/I8QcnTTHAlsCvz3cHYOF7mOxXqI5IfEvZd4masqW+711rf2AusNeIF EMbg== 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=E+sHSfYLgGCrU6540dFl7iBG0+doL0klBJDgQA8Ntl4=; b=nlUOtdQ1UJQp9mAGYrZd7Ai+8844ham24E2CMTN6EaJQ7Cxx0eQLpCKuby3wPn2lqD sjIIYsU/NxupqX0sBNAdEHnSRj2FEx7g86qjTCFFQC1r7tYwz1zc5QAcN6eZo1w3Miok EdC6Xc5Tw2gFLBkoZLDmbYy9CMYZ6ZJNi50JddEhhquqK57a3CMmt9D70mGwyXnKAWxG 0T6O9vodPW4rhSRACTUaOU85v4UOMV5HY7UUCy+dD9vAgIlZcdkr+JfEaeU6crwKOyc6 4udecyNi3zs/LSqnR9GuM60cFM3MigMKzQmfGVqz4nB7ZVo0GApnNA/S1bBQFnLBWgAQ Psyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QN+2dnps; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ml11si564411ejb.697.2020.11.06.02.51.35; Fri, 06 Nov 2020 02:51:58 -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=@linaro.org header.s=google header.b=QN+2dnps; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbgKFKsQ (ORCPT + 99 others); Fri, 6 Nov 2020 05:48:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbgKFKsP (ORCPT ); Fri, 6 Nov 2020 05:48:15 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30E1BC0613CF for ; Fri, 6 Nov 2020 02:48:14 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id n15so835414wrq.2 for ; Fri, 06 Nov 2020 02:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=E+sHSfYLgGCrU6540dFl7iBG0+doL0klBJDgQA8Ntl4=; b=QN+2dnpswsMcm47QsKMnqXTOzqPxgrEdjed1jz7ldNxmVZo2fKB6jTwc48zMh9hWPE xWYYiviApNLTDy5hJp4wWNAoXbmA/HWwJx/opS8m2JG+ANdCM/gSsZ3dyj6ZQ74/Q47b CXhQjeFbyzLeWYA9NGj3l9g/qAdP2dvEjSbkKUpcTrz4Ak1ldaIpe7wm9QsUpJ2dxO/r kVqUqEPk/pVUHz6utcGk30kiCrreWmmAfnxV7mitLgiRmn1T7j5zt0Ez6bX6LEf8pOGy wn8SOyjG7Y6jSMeXKJxYFBwiKrozygFOnRl9769bpl8B0ZBeX8QAgPwUOqVibgleNFZK FeEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=E+sHSfYLgGCrU6540dFl7iBG0+doL0klBJDgQA8Ntl4=; b=ELVBtPioOJ5M8SDzM/+veo4gEwkLMQLWZebQzMCPoA/4e0BxBzzJztbofshxKAkqXt WzP74X/1XYkBQaSWdZMZuzazyXE0m8VVpwu4YuCytfG1DAmzcM9U3a3Lnett3iGpDOpE 974GsJMqYXEi6QqHWDKQKpXDNJ7j5nk6MKKd/SP6BT7BZEBT7vksST0Soj10mPxQ/DoF 0lx7imKreCpLbDW8uyf+mYOz7z+pyIzLvoKKVGf5nrwuqH5utqufUz9Fd+M9xiB8+mt6 I7zuHcGNGHewKcNhqv9dDxrGCP3s/Su1KZhEPX8QuLDnBceHDwRmmjrWrjPitGAlDVI9 sZ9w== X-Gm-Message-State: AOAM533DW0k24hSmb2witrQ6lgYQBN/UFvsKXfZeTPt1aSaBkTIeiETQ y0QqCsQdlSesPvkKb1DEYx/LGQ== X-Received: by 2002:adf:ec47:: with SMTP id w7mr1945741wrn.253.1604659692918; Fri, 06 Nov 2020 02:48:12 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id v67sm1774369wma.17.2020.11.06.02.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 02:48:12 -0800 (PST) Date: Fri, 6 Nov 2020 10:48:10 +0000 From: Lee Jones To: Greg Kroah-Hartman 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: <20201106104810.GE2063125@dell> 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> <20201106103955.GA2784089@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201106103955.GA2784089@kroah.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 06 Nov 2020, Greg Kroah-Hartman wrote: > 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 Is that from the default defconfig? Or something bespoke? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog