Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1153355pxb; Fri, 6 Nov 2020 02:19:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQoGlYFD4rRww4EWWZdu2PaKSPdoKSm7yOHoq1mniYbciLqozwzVsYQmeaibGmMq3CM8wO X-Received: by 2002:aa7:d888:: with SMTP id u8mr1286458edq.210.1604657952016; Fri, 06 Nov 2020 02:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604657952; cv=none; d=google.com; s=arc-20160816; b=HRC07clwOUcB6XsLCSkcAMkBrCVwAC0lxb4IZP3dxssRhQyH+WugeXggUdW16z1DJF CABSt54ro+bdQyu+N3UfMF5hyI3AzubfEaMiUch7szExdryD9YYInn3MffmUGt0LhS6C lhWMN8HAk+lpFXEZ5jNtVkCAqM5KNLgyPl2uY8IXvx9WdnHoP/oNZwygkzLzk9m0P3kv dvW6E55tOLn+VGo33r5Nlm5IeANJ7I5Ixb0LByaRDzIeoCc24Zggnhx4iMxCwiu5A0Pf HgF6WnF6dkGTCW1kxNK6JjYmYMQqs2bupB1cfzSdcNNAJ0nNtnKApD3QvEWITYxJzDPM PPyA== 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=6L9JeUWoNBxsQ2u2fgHHCXdFZ5MPFmvxZ5BNcxlrU7o=; b=CRahSWr/fJr0hK7/9LshmcD3PVlOImaYRIwgK+lPsMvqE2OecGbtI3Y1gww6DQEfd3 qHSs7Yv0Juxh5Qg4EE5vVxGEDX39heKHDyGd+dOGaynw+d1TgzuFRKodfsZiwrfveyZj PtY6o2+qYJPOFXt37AlYiWhHLOUd5NrWGOGscx2XEgrbofCh2Rq3cvP2r6qKxmKgwEv9 ugmhJAnzTEGVIXi3SdjY2Ka1NqajbuObHoZaPwDnnnQdogoct3HkuZyAcG1Vey06hggJ MIW1tbKoPJMgNXPp/8pUsIID9t1L6zZxBN9VZvk7nrgydsL/fGEAcgeDaXCQsVByNgZb rxtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uprwfviy; 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 n3si512320ejs.34.2020.11.06.02.18.47; Fri, 06 Nov 2020 02:19:12 -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=Uprwfviy; 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 S1726694AbgKFKQu (ORCPT + 99 others); Fri, 6 Nov 2020 05:16:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbgKFKQu (ORCPT ); Fri, 6 Nov 2020 05:16:50 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D0FC0613CF for ; Fri, 6 Nov 2020 02:16:49 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id e6so735893wro.1 for ; Fri, 06 Nov 2020 02:16:49 -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=6L9JeUWoNBxsQ2u2fgHHCXdFZ5MPFmvxZ5BNcxlrU7o=; b=UprwfviyhKGM+WUYM4NtgdofoWC4MVHl4C94PV8WzSvNXpdd9CZrPxgU+JAK5O0QWq zJvLDksgV4S7PsxJ0dp5p5Vv5GPFjWKebfqtwFk0SrMpnwOR3JNZLfF0Z9j4sAHM84Fs bqsEi2PQuvEfr9cMbhzpYTQSwRuMIoMY2YUSDKsgYwKe/118yLk1APbOp8oMw7cRDXGS Ke6Yf+/QRMduaYF4WZIEFEeE1VG4IDc7Z8kXIeWVX/p6L9d99mVASaBFbcBR6+Rriz3R oV+qbQsdS0AsjSymj7Xecgg9DPIeKtosi3znZSAaQDCQLDbxJPqxD5AFe1yGnSIB9OTS cQgA== 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=6L9JeUWoNBxsQ2u2fgHHCXdFZ5MPFmvxZ5BNcxlrU7o=; b=RazDw60aYtp6CTEheGdF7yJIG046qrQgwT0+do3DEC+GF+u06oz1z6ILFxSTk8EEsm kTOD30w4pWQimBgupF4o9QWoHD+re8CiUW05Ye6BkN/Pb1pJT3Yft7IP9pBPq6WIWuyv PT8bt/OIj3b4B5g1txJOUflg6Bc2SLKVFcJx5OyGLqfojtvXX0klJcUrBKtLPXDofIGC e3XiE/elSqF8uTQs4XN2FZDbUQisE7ybiYkFXQoKgSSVB+qmyavA78LciukAvU86jAle gP0Fr2r8xwW5I+FhNFVz5RIgwCh3nUjUqkvsVC1hwuj7T4iOHwxIYVkfOkYlcujsqJoe ko2g== X-Gm-Message-State: AOAM532KYl1OTaj4TWwdIweNx9zb6oKjO0U3Q0nYiAjTGrHK8wfxpdWM YxyRxj3/WbGt8JQCTNDptCNTmg== X-Received: by 2002:adf:e412:: with SMTP id g18mr1787350wrm.211.1604657808370; Fri, 06 Nov 2020 02:16:48 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id y185sm1567104wmb.29.2020.11.06.02.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 02:16:47 -0800 (PST) Date: Fri, 6 Nov 2020 10:16:46 +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: <20201106101646.GB2063125@dell> References: <20201104193549.4026187-1-lee.jones@linaro.org> <20201104193549.4026187-14-lee.jones@linaro.org> <20201106095326.GA2652562@kroah.com> <20201106100552.GA2063125@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201106100552.GA2063125@dell> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). > > perhaps W=1 was wrong here... NEVER! ;) The prototype just needs moving is all. I'll fix the issue and re-post an alternative patch. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog