Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1140487pxb; Fri, 6 Nov 2020 01:56:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyGBffwt+gFTYq+JKL0//Hf9amZQRLDbuDYzJKAoI4X6Sh7uWyR4kAgZrIZ4vX0b3t1R4f X-Received: by 2002:a05:6402:716:: with SMTP id w22mr1192324edx.214.1604656575690; Fri, 06 Nov 2020 01:56:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604656575; cv=none; d=google.com; s=arc-20160816; b=FwViAoTCNU2wNtuk8mS9ztCoXMs7fIBpQdiOiVa2ic22Nnk1257z2PqvENlp119Gpa cAn3mcOGSmZGQHekY4I/jaCwPqJb4ZzXqp6DklqYpSksh8eSSzYw+CMbImeJ1zvA/zT1 1Zgks2RFTdSd/dSx8VI8RQWUCeBAwNLhJCGUTqp7nY2iNMHfTdPqgt4WlLyvkJ4Pj5i0 VVr/BADyMmlRu/gVFKaAizUr+RuPzb0tcFCM0yUViPQ+/B95QKZY/POOt9/21aa0+AuK ySUFFeQJLbRfiZetfB0NH+dXIOwxAc1BAw/nEXj5mv8qunThHtHKxfC3zSqe6X93C/aq iRSA== 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=+gLYuSj9N3WUNF1U+iJnV39aWvYr31FQhtbmtfLbePE=; b=OR9V+VNfexX369pe4/XexYBDNUV5q1wqhlMf1nURNm7MqStnedoz/5wDIWYvwQNRG5 EYpwLYhqu61XBvDYx8milTBKl5psLJRBi2aws8WzhZsgJEwwcKrWHfmufPDjtCfB8OJO GhRtvRgJhhvDNOVfPjm0gLccHN8FbEOmVYigYas23wAsASifCV8eFOcIWvhEy0HUPwUN jawWqJaNkwPJQGFjCeWHodkTRC/r1Ze4/ldBZtIVtPEczgcUMlUVM0U+q7svxMyzkzMd NfbujuUDP5m9j2cLbFDLtYOO8dG0uFl89KSGcDMauaAFPqXZmjZiOal2OkcNktTQ1k3r TNBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gK9qnRsy; 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 bc24si544682edb.438.2020.11.06.01.55.53; Fri, 06 Nov 2020 01:56:15 -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=gK9qnRsy; 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 S1726692AbgKFJwk (ORCPT + 99 others); Fri, 6 Nov 2020 04:52:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:35650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbgKFJwk (ORCPT ); Fri, 6 Nov 2020 04:52:40 -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 1308D20A8B; Fri, 6 Nov 2020 09:52:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604656359; bh=gzACgnfSkG0LSUDd58iI/0YMXdWp4kOzDXiq7luegZ0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gK9qnRsybkfWNB/IsD2Qnr+tsybVobAY+dujYZU52qtS5swjh1Cqf6R12ez/mmE8x 12uJaecK4GXKpUpejcB4vNMmX5JDtMcxfWDHHTAJCdxhx81u/FeIs69jwu+vez9+EJ suhiQPQjfqulCbRv+vua5dS5vL8dRqCxm3XMxFow= Date: Fri, 6 Nov 2020 10:53:26 +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: <20201106095326.GA2652562@kroah.com> References: <20201104193549.4026187-1-lee.jones@linaro.org> <20201104193549.4026187-14-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201104193549.4026187-14-lee.jones@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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... thanks, greg k-h