Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1148217pxb; Fri, 6 Nov 2020 02:09:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTKR4SxEqOrk8jlWe1SwMcQH6ycn241P4QvRoi5ZUn7RNCyKYFk4Xj7R1VIKIVOmic961O X-Received: by 2002:a50:8343:: with SMTP id 61mr1198486edh.167.1604657345426; Fri, 06 Nov 2020 02:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604657345; cv=none; d=google.com; s=arc-20160816; b=nzo0SSDYrvn6xVoG6VQKYxlJVLNE5PH6QqFxtCER70toCqDy3Zez3Aeq9kPc1/dz10 xLa71mT+Y7ev5srqzeIun7QIqDRBhr1jEGwGunRr+7MHVyLAluwWWPEtjDGy/MtqXk3f qPGGaahONXkGOKTa9exCeTgRsayFoKJ25XS2kX4k09ntrj1A2xw4Cc1TKFyMhCF60K9g w9JWJD1xVjT7ESRUVCOuZO9FVrIsH4az2VPR/K27y2gS5rGAybwywNYLpa/a2NXaZT48 lxeVc1fAygyUQp6XtLoWm8ne0VvKUx6IwiRRjhWS+h4kwCZoNlq99shQjS9tu+BFrBiT +vkw== 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=DkOMBYzaOwwm2Jd4/IVOn7Fh7gujV7pgKKL98OyiWYQ=; b=DQkSchxFGQtb1LCYd2rjk2BrGFCIFCv/GxLZwUJU+NPnJFqb7RYiGp7M19emMc0IUR APNUMFr5CINMNj/OK5Ol0sUwSXRy1mr63XzN9xmHKsBIvazy/yCtV42z3QQ+jgZ7Yktg S8iAq7Bodw0/2RrvwnXdi9xEb9iO6CkHkeH7AnmMmMkkgpIJKBKVyNIb/GPXD5NX85O6 r5o2MxnC5LjqgxVb6sMnsRZL7QwJ0xHNlmJcUc3FpYdUBqO+9dpi1+EsKJ/FMTXppnzT Ip223NaIh/hW6zfqziBXmyM9UJtlcA2ezUPCCn+Fyba+dMEU1zl+uOe1bIXlMfnejL2k 33DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="SIg/BQUZ"; 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 h24si555894ejk.371.2020.11.06.02.08.42; Fri, 06 Nov 2020 02:09:05 -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="SIg/BQUZ"; 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 S1726812AbgKFKF5 (ORCPT + 99 others); Fri, 6 Nov 2020 05:05:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbgKFKF5 (ORCPT ); Fri, 6 Nov 2020 05:05:57 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F01FC0613CF for ; Fri, 6 Nov 2020 02:05:56 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id y12so687128wrp.6 for ; Fri, 06 Nov 2020 02:05:56 -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=DkOMBYzaOwwm2Jd4/IVOn7Fh7gujV7pgKKL98OyiWYQ=; b=SIg/BQUZz5FWQOLNcgKYKq8fHjskRqU7XPO/fP2fxTZwsuJh0ch/jlPnZ6hheJLqwy Dmm7yN3XvMGy9mu+m6z2DRvZU20NwkyGtgBCOa17nu3GzLrBmaTRokbGuH66HA2jBD/X fXD8ZnV8Y/YHMCsfiwBOvgtILfozV5Lc/m55z+af8AGZqsaZ8HyGT4SV69HblhlL0wmL 6LjsSlf9OFJdEfYgGy7HB9iDaXvLtM06c2I5XP48pfEvrlUYU1Wch92TvZNof9cx3q/D 7ySUv7YTWauTe6pud2LchDntLSP+sAfjtSmyS4CngaXzRFmJzCXofqjjQ9ROiZ32bNh9 sqAg== 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=DkOMBYzaOwwm2Jd4/IVOn7Fh7gujV7pgKKL98OyiWYQ=; b=AImxhg8BeG5aCdK+DrGuOhMvGZR5Lqq29FR7QmS/iiOwwrFsUiOuH8StgTqWvimRDW tWVQqpduQYK05EHAduSlti5CIkR03nv0lY9W6w4FzKXy2oa19b/rhFdsocZdsneBWlMB toShMKrpgT/Jzu2L4XMDMNwg+D3/nFU5pr6tBuBEagrAztOM9eDt1FG6b6QT+L2GCLs4 THiNihwbEm4Jv/IsIjCmxfI6knD5PWIfcwR5sdjtf/mOFSdrF1wIsO3dQiE/epafgeIE EokTbOHBy1sdRTbGe7srRQVHzYa0GEhk173K9CPMkx3erOIHJn5yS6fWWLPuiuzJ8QOo u5ug== X-Gm-Message-State: AOAM531n2Sokh3s7nEyI48z2qFcPmhc0ZD0+w7W/580tnV6l3A7UEBc9 SKqK4q0zelsfvj+UyqvUQIvG8Q== X-Received: by 2002:adf:f644:: with SMTP id x4mr1793072wrp.5.1604657155384; Fri, 06 Nov 2020 02:05:55 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id n9sm1542082wmd.4.2020.11.06.02.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 02:05:54 -0800 (PST) Date: Fri, 6 Nov 2020 10:05:52 +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: <20201106100552.GA2063125@dell> References: <20201104193549.4026187-1-lee.jones@linaro.org> <20201104193549.4026187-14-lee.jones@linaro.org> <20201106095326.GA2652562@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201106095326.GA2652562@kroah.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Always test-build your patches, perhaps W=1 was wrong here... I *always* test build my sets before posting. /investigating -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog