Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp254933pxa; Tue, 4 Aug 2020 05:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl/TdlSlJ7PI3jXHo93mIisyQhbWieUUNRy8RFAzbRu/kg01FLVEc2Bz6LcmBqfNvaHnUc X-Received: by 2002:a17:906:b5a:: with SMTP id v26mr22498646ejg.515.1596542406399; Tue, 04 Aug 2020 05:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596542406; cv=none; d=google.com; s=arc-20160816; b=bNPI6P4BaJBs1sVauGvmpEftzOYHgDoaBJr5vk85j7Cer49XqjFHzKD1PEDS/6fCs0 RBmSV8vJI2NdUlLcgznjg5dc+X5cRzwkTHzSBQjdhcllSIDtQFwF9DAfX/2eUGFc5piR 7OqBfUfo5nfvuErGahR/aKNcxmkD5if68kk/N8nPTuBHosiF4JIr9KEvtgBaUvHOTAqg r7uPQbLnFsMXYbpoSzKQpNkIMONo3CZLkr/XKjO+TCClxiTJx1JLn2sFve5L+EDmAIfR 1nP3QX0dvSJHmHDM5MjZNXHTPdol2f6DdFVo7xv8ECfZ0GXmdwlpA4fuhirhJd1m5KE5 vQUQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=TDEq4QLX/xGORGGRZecf4MovoZ4BuULO19NN268FNDg=; b=cYjn6xGDqRnQhNnfhy4ey1V/VCplUEhVTHieB80aHqFpKN6MKqAGYTVuzggi9WdaGS /Zz/ClGdoALH0VRQyCmQuWT+k4qKk5IvFjYsKX+TSV02fNTz05GeDpRP9A8cOJDIk17B OF3Br/VpwHNwwThivhZdGKw/uWYqfEGkEuOR12ikJbbN/vRVi3/VHSx3rIiQ+9NkHpOQ 06Nqh6ZT3cUeXVyoDHIKaGfkAZopNmGTZAyz4RddF6M1MjCs4uxu62QvbMkCa6vWVBbt TivIW8uhwTQMommNIIywnTUWcan3sq3enbly1J6AfpUM7xiz26JamFHRI7V0RORUxd8s tU4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CIaDeLze; 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 ox17si12087085ejb.241.2020.08.04.04.59.23; Tue, 04 Aug 2020 05:00:06 -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=CIaDeLze; 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 S1730450AbgHDL6q (ORCPT + 99 others); Tue, 4 Aug 2020 07:58:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:40458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730356AbgHDL6i (ORCPT ); Tue, 4 Aug 2020 07:58:38 -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 57DD82086A; Tue, 4 Aug 2020 11:58:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596542316; bh=Ws9mTM9hLH76bfhcMTDlEjXSJGOZ+kmUZwL41/jkJvs=; h=Date:From:To:Subject:References:In-Reply-To:From; b=CIaDeLzet63ckJ2uON4/mDPUc7KGHW3WSk0gncq4u7vyzIJFuXgdOPeGJ6yI6QjEG +9aYTIGzE+oZgnnyjaQnfOL0FYDAOkOaoI34zUJ9Q2CnvQhQQKy64F8lXa3jr4c5aQ SM3w3WsDEieWhTkXewHYOTkyYcnMI+uc6FE9s4Ro= Date: Tue, 4 Aug 2020 13:58:17 +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: <20200804115817.GC203147@kroah.com> References: <20200804111332.dex7jobmabifdzw5@function> <20200804113413.GA181242@kroah.com> <20200804114951.ijs3hnezi4f64nll@function> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200804114951.ijs3hnezi4f64nll@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:49:51PM +0200, Samuel Thibault wrote: > Greg KH, le mar. 04 ao?t 2020 13:34:13 +0200, a ecrit: > > 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! > > Yes, it depends on the first of the queue. Nope, different errors with both patches applied: 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 :(