Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3564356pxb; Mon, 16 Nov 2020 19:23:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJZhUFP99P8stI36EhRUQR4TPeRK3v2g2LFPw00gYL3CwC3uFEqFNQd2DSdtLf29votsb3 X-Received: by 2002:a17:906:1352:: with SMTP id x18mr17044421ejb.476.1605583406943; Mon, 16 Nov 2020 19:23:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605583406; cv=none; d=google.com; s=arc-20160816; b=luWwJLVx/RlOWdoqRqp7SjZSzCUHAm17cX5iKfz9VS6Aro00gtbP07HAbLc8C5plRh dxpy54eUp72mQSyxZUKHYB2R5YFAgQuhOrohEz+Hizir/5keg28sfdUkO4/BE6GlPMcm S3LDRy6E7c25HgK1B28iJkKk6hq8BhCLksSVCY8dt4QG/3jLwTN8wjZhCwUEblBmBCOM edEWqvvMjMpcfSShYKS3zA0n+6vdMLBRPNH7vLnPfQL0+HW7Ff1D8qIc6pg5M3r/3rqc +O/w0BxdSbOXatjZ3QNyE8wZ7lPXgb6RyDKz9VzoNeHvlp3D2TqB8YMslZiT5HHoHiFb wWLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=+pzZXRoAJmqoav+RREmXHU+XURFalHfAvLbMK5W5XoE=; b=oReZ1e6iFNeZ3dTUPJM0vY6Qq7aVC1joP/tT5IhbzhaZpErtv3oiWGciJTP4L9hNDR ygEpNGu/+7al7XFP7fCU7zqLxeGPdfABZ2ICyyAVNoKLqnUTmAzhojvsCz9348M+uHHK pcT9GTrOH/iyCmt9ZlCGj/THmshkpp8Rl5/CTITG5lkm61aZks8uqylKTJG44eKTqtkC YJZjqajNo5BbjU316HRhal2IBA5sLxZHD4sjJwo1YqD6TNESrk931Y91H1WgYbJp9QDv JK/DnDkolewTuZz7gVwC+0oPkbYnPzaodR1ekdrsT5XRRSVaUXvW9rZ05yWviBMLRcbH UIpA== ARC-Authentication-Results: i=1; mx.google.com; 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 q7si12918985edr.253.2020.11.16.19.23.04; Mon, 16 Nov 2020 19:23:26 -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; 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 S1733113AbgKPUjK (ORCPT + 99 others); Mon, 16 Nov 2020 15:39:10 -0500 Received: from maynard.decadent.org.uk ([95.217.213.242]:52632 "EHLO maynard.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbgKPUjK (ORCPT ); Mon, 16 Nov 2020 15:39:10 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126] helo=deadeye) by maynard with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kelHI-0003Bz-EW; Mon, 16 Nov 2020 21:39:08 +0100 Received: from ben by deadeye with local (Exim 4.94) (envelope-from ) id 1kelHH-00097f-Ag; Mon, 16 Nov 2020 20:39:07 +0000 Message-ID: Subject: Re: drivers/accessibility/speakup/serialio.c:48:19: warning: variable 'quot' set but not used From: Ben Hutchings To: Samuel Thibault Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Date: Mon, 16 Nov 2020 20:39:02 +0000 In-Reply-To: <20201116203355.t7dboh6vlj57dsau@function> References: <202011160942.AmYkxiJv-lkp@intel.com> <20201116190122.yslib3wicn45rbuo@function> <20201116203355.t7dboh6vlj57dsau@function> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zO1q+N+/584fGk3wK6e5" User-Agent: Evolution 3.36.4-2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 88.96.1.126 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on maynard); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-zO1q+N+/584fGk3wK6e5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2020-11-16 at 21:33 +0100, Samuel Thibault wrote: > Ben Hutchings, le lun. 16 nov. 2020 19:51:23 +0000, a ecrit: > > On Mon, 2020-11-16 at 20:01 +0100, Samuel Thibault wrote: > > > Perhaps we should rather use > > >=20 > > > depends on ISA || (X86 && COMPILE_TEST) > > >=20 > > > ? > > > so that we have compile testing on x86 only (where the inb/outb macro= s > > > always behave fine) to avoid such issues on other archs? > >=20 > > That seems reasonable though unusual. > >=20 > > > Or we tell the architecture maintainers to fix their out macros into > > > consuming their parameters? > > [...] > >=20 > > It does seem odd for parisc to define the I/O functions this way. I > > don't know if it's really a bug. >=20 > Sorry I wasn't clear: the problem here is when CONFIG_EISA is disabled, > the eisa_in/out calls are replaced by BUG() stubs, and the stubs do not > consume their input: Yes, I did see that. Ben. > arch/parisc/include/asm/io.h >=20 > #if defined(CONFIG_PCI) > extern void outb(unsigned char b, int addr); > #elif defined(CONFIG_EISA) > #define outb eisa_out8 > #else > #define outb(x, y) BUG() > #endif >=20 > Samuel --=20 Ben Hutchings Everything should be made as simple as possible, but not simpler. - Albert Einstein --=-zO1q+N+/584fGk3wK6e5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAl+y42YACgkQ57/I7JWG EQmeKQ/9HnaPJllzRlnZauq0VVAeVVEBvs6IHY4eVoOhRKITK2xyfu1bNLzTXXH+ gQv0rFWaGz6ebtfujeyqYE3irQohX4o1EUTxypQPUWhBCg4Isg19DpYohWguZabd LURJWKjgiFCHC28+2qnW4uzoV7psQ6XmWOwcUlaEIEjJ+4AUBeM3mCA2hIfBDjty J7EHM/x+oyMp/aWj2avUcLDP7sOANzkw6QJHUSvA1RHFS3gTlVAz6ubHkKUyXB8m 2BYd27AZpqq8DCCOf5KURRR1/TUEIwsYU8HyOsx8NL+jKQ3jA5m9qFpgAIOfMj8e dc9kNSgLS6daIgyvhr6yO9lKO5V3VQpKbFEA+vhByko8w+2pAmI09e8+75PMlmDb TnINz37PE0kD1DoRVw/ohKtQe8Dv8gJXxNR+SP7u/EbSOf34iH3GaaDmZ8ZFW8Zp exsBnXrEt4KgbrXNxLP74nHMgeZtPb3g9LOMk2SDp09uj+GWLzLdk/Jk2tiIAQeF gp+x+ViVaHXGjBkIqtZ8rG/wSKb/2/GuKlpjdr1PJRTtRz+jQRn+k7VbI5hG0EU/ IKwbCfKtewUvQeo37fkaNQi9PVke4EqksSaPEjutlh05lSrWeXRuSWBKZspCalNs t43/PgxCQAXq58m3itcc5cPHu3GyQD8yLx/rxKRSX+m2/mHnuJs= =Bw8u -----END PGP SIGNATURE----- --=-zO1q+N+/584fGk3wK6e5--