Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp241418pxa; Tue, 4 Aug 2020 04:35:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY3YBk8ciFlSfl1V7/kXXcStKNf1btjEfmY0MDTwr43aBSXhbZhMX3Eda/gPlamzCT63+O X-Received: by 2002:aa7:c353:: with SMTP id j19mr20284136edr.128.1596540919920; Tue, 04 Aug 2020 04:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596540919; cv=none; d=google.com; s=arc-20160816; b=du+t0/LbK5nETs/oCIBKdSeVxq5fc99mjph4BSVbRRrnOCUfU504VDhR/5xfgp4g8m EHtOJUGfNC56AU4J4HLWSRYIa3/DxCbr3zpITG42Xgl3XmlIrfwCGSCzZDB9FUaqy3wN eo3DnJeiRw1Qx69sz9prj0ePUcRap21xT4k3ku8ZoMy8UgVhJKC1kotvLkLdzu6oD47b +jxJzMria7AvqUhc5K6gxotUmahAqdT7oXkrI3xiT2TOOSH+kD8GRwyo8v2G1jeBprZr ek8tIDxolTZ/2U6k1FlFqcF49OLM5vu1qhLQQSHH8sHrqhu96Lq1dNiLutcyx4+OBEb/ PhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=3nuJpkYoXVWo8SktnQgHkIFfqbN/Mn/VyawetUl29Wg=; b=HghPZRWVq/d1o2yN+6RDSj/SSVR8o3odpnmrmYKXm4IoolK/ivY9PLvkaoNwpxsvBl wQBFC59mQVPwR5RIPqS9155GbgLxH6843kE28xlKp+p71Vxf3/p/BSZai4+UQvwsT4oE ElpJ5yE0OB2QvbRY9MFw8P4KR68r4ZELkxpT1aSSTapvqdIIttn4Yqj8fmT+2CO0nj5t HHAsjTfsjmYt8wFo6iFNpk51eyAn3BZj6dw99q/Q0TkMk7rK1yxjmY79eqaacyuhX/lT wn04io870QPu0j5jxffwXHfRvzBAK8e5sopAO148baV/GK51ucV/IuqtAsU7mlwEpn0V pBIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QxCfIxE4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si13781112edq.518.2020.08.04.04.34.57; Tue, 04 Aug 2020 04:35:19 -0700 (PDT) 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=QxCfIxE4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730186AbgHDLef (ORCPT + 99 others); Tue, 4 Aug 2020 07:34:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:58168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgHDLed (ORCPT ); Tue, 4 Aug 2020 07:34:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 653182086A; Tue, 4 Aug 2020 11:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596540873; bh=PdL7dmBcGVuTWu4ybcpV6t4DvW7WSlxwwBQKJaRjvBg=; h=Date:From:To:Subject:References:In-Reply-To:From; b=QxCfIxE4JI3HoeOCBjew2jm2grr9RL1ZWpwzTwpn4OV+o4IH335ItqMKfOQy440Uh LMF2MmzShTVtP6PJk+z43xl9tTGkT5ZAlaynPNI3t+dSKsge3OxDWqkncWckxWLieM bm/l2Ls9ff6IxvbTTfH+qggloAKYc9Z8JKkAc/QE= Date: Tue, 4 Aug 2020 13:34:13 +0200 From: Greg KH To: Samuel Thibault , linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: Re: [PATCH 2/2] speakup: only build serialio when ISA is enabled Message-ID: <20200804113413.GA181242@kroah.com> References: <20200804111332.dex7jobmabifdzw5@function> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200804111332.dex7jobmabifdzw5@function> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 04, 2020 at 01:13:32PM +0200, Samuel Thibault wrote: > Drivers using serialio are already made available in Kconfig only under > the ISA condition. > > This solves warnings in inb/outb macros on platform that do not have > support for ISA. > > Signed-off-by: Samuel Thibault > > Index: linux-2.6/drivers/accessibility/speakup/Makefile > =================================================================== > --- linux-2.6.orig/drivers/accessibility/speakup/Makefile > +++ linux-2.6/drivers/accessibility/speakup/Makefile > @@ -16,6 +16,7 @@ obj-$(CONFIG_SPEAKUP_SYNTH_TXPRT) += spe > obj-$(CONFIG_SPEAKUP_SYNTH_DUMMY) += speakup_dummy.o > > obj-$(CONFIG_SPEAKUP) += speakup.o > +obj-$(CONFIG_ISA) += serialio.o > speakup-y := \ > buffers.o \ > devsynth.o \ > @@ -25,7 +26,6 @@ speakup-y := \ > keyhelp.o \ > kobjects.o \ > selection.o \ > - serialio.o \ > spk_ttyio.o \ > synth.o \ > thread.o \ Oops, no, I get the following build errors with this patch: ERROR: modpost: "spk_wait_for_xmitr" [drivers/accessibility/speakup/speakup.ko] undefined! ERROR: modpost: "spk_serial_io_ops" [drivers/accessibility/speakup/speakup_keypc.ko] undefined! ERROR: modpost: "spk_stop_serial_interrupt" [drivers/accessibility/speakup/speakup_keypc.ko] undefined! ERROR: modpost: "spk_serial_io_ops" [drivers/accessibility/speakup/speakup_dtlk.ko] undefined! ERROR: modpost: "spk_stop_serial_interrupt" [drivers/accessibility/speakup/speakup_dtlk.ko] undefined! ERROR: modpost: "spk_serial_io_ops" [drivers/accessibility/speakup/speakup_decpc.ko] undefined! ERROR: modpost: "spk_stop_serial_interrupt" [drivers/accessibility/speakup/speakup_decpc.ko] undefined! ERROR: modpost: "spk_serial_io_ops" [drivers/accessibility/speakup/speakup_acntpc.ko] undefined! ERROR: modpost: "spk_stop_serial_interrupt" [drivers/accessibility/speakup/speakup_acntpc.ko] undefined! So something else needs to change here, sorry, dropping this patch for now. thanks, greg k-h