Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3418622pxb; Mon, 16 Nov 2020 14:16:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmmM2WfzsZZ0VcbpZs/qLFf1NdlnJc4sN9Clyh+U3hYFmcBlG9BAnXgyWoX/3r6owc+nsM X-Received: by 2002:a17:906:5793:: with SMTP id k19mr17141749ejq.410.1605564997786; Mon, 16 Nov 2020 14:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605564997; cv=none; d=google.com; s=arc-20160816; b=hMEG7QlcDT53Q7d05eZYznFmFwKSDoxxUOMNmKQ1xgPimHO2w+oksfRJbfRvTL94Vr 7290t8w26147xMnZM5JBgvxhct7/xr2TfqLNK6F4lWOclhAwPmy4SlqGi+d2t1aOpHIc GYu+i0+EUCp0yCZ+VmJ6ChLek9Bx+iDPDcyqZ1/8bkhg7pqsJbnOU1src1dfKCOExKSm KMAY+Mr5nIVPXqUbmEdyY1K3qDryt1nDoCZcvMiZEK+ZQuyp5+PLraRhL5il78MN4A3V IlVG85z27rQa2Mh9LBXfZlNU5Mlv6dTPvBRaFGaoXCkfmDk86q2UufPVPEZVvxZpkLJ7 1TSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=UDLnurxuNfXRHxeu2YWDW6jRESJc94ax7v8HQd+bnd0=; b=lQzz6T3ddLZoBcWPyvqX0Qkw8wJx3jAtuUjZzflV//+AL4nKyUy5PewXQ+C0DxDGlP kV+9qXelkTGp4mfGFscOfeX/tzgehLRJf5g8IBLt44tYCzwppuaDuTgLLK+2vNNUImfz UvIv3nLiHSDx9jFi0T/upj3QX8eN2WS0cjv6SB0xBAtgT5ywAafzc0uwrLrnjuysyRnL 6UrYxUDZmmB7dMvB14fIcfRjMhOGXrahlRSmm21TBJRBNoqSsX0An4Ib/c5VyGds5PCo RCtjR4BdxfiVLFsET/+dsLnUMpyItohG5LnTLdQ1zgnvhEgTRj1woZGZJ2CXWuG2hJ9H m7GA== 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 ga28si11827029ejc.566.2020.11.16.14.16.14; Mon, 16 Nov 2020 14:16:37 -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 S1732932AbgKPUeA (ORCPT + 99 others); Mon, 16 Nov 2020 15:34:00 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:43296 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgKPUd7 (ORCPT ); Mon, 16 Nov 2020 15:33:59 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6979BF20; Mon, 16 Nov 2020 21:33:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EsWDGVyKgCHc; Mon, 16 Nov 2020 21:33:56 +0100 (CET) Received: from function.youpi.perso.aquilenet.fr (unknown [IPv6:2a01:cb19:956:1b00:9eb6:d0ff:fe88:c3c7]) by hera.aquilenet.fr (Postfix) with ESMTPSA id CA9B5F07; Mon, 16 Nov 2020 21:33:56 +0100 (CET) Received: from samy by function.youpi.perso.aquilenet.fr with local (Exim 4.94) (envelope-from ) id 1kelCF-00FUbU-Ki; Mon, 16 Nov 2020 21:33:55 +0100 Date: Mon, 16 Nov 2020 21:33:55 +0100 From: Samuel Thibault To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: drivers/accessibility/speakup/serialio.c:48:19: warning: variable 'quot' set but not used Message-ID: <20201116203355.t7dboh6vlj57dsau@function> Mail-Followup-To: Samuel Thibault , Ben Hutchings , linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <202011160942.AmYkxiJv-lkp@intel.com> <20201116190122.yslib3wicn45rbuo@function> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > > depends on ISA || (X86 && COMPILE_TEST) > > > > ? > > so that we have compile testing on x86 only (where the inb/outb macros > > always behave fine) to avoid such issues on other archs? > > That seems reasonable though unusual. > > > Or we tell the architecture maintainers to fix their out macros into > > consuming their parameters? > [...] > > It does seem odd for parisc to define the I/O functions this way. I > don't know if it's really a bug. 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: arch/parisc/include/asm/io.h #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 Samuel