Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp225358rdh; Thu, 23 Nov 2023 02:07:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHx4MMsouHhkHlxEXUH9SxpNJK7bf3vMBRb0v37jiVYctC1sNHFL4u2wr24NgeCxOEpJf0b X-Received: by 2002:a05:6a00:1484:b0:68f:f38d:f76c with SMTP id v4-20020a056a00148400b0068ff38df76cmr5674201pfu.6.1700734067493; Thu, 23 Nov 2023 02:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700734067; cv=none; d=google.com; s=arc-20160816; b=dU70S5wj4+gnA4N/IA/DlgDe7QybYRjBTpxXCLdLxybneg/SGIujcjMjDC2khmRfbW EvmhZ09Y0qdAFoeJ9V8/0zCTE6PWH82SgKkTiRUDZVG1HuQ8BAY5Oa7gpDOdPnHr++9N QnMdjf3WEYb3q6Xyr1ar2VwSQ6NK72q9zGiDcASHAqZDM5zclWNyNtX7YYCzKxcfEHgy Iw2yWrvfjWxv4amt604c87AAU37Yvd3hdpmV6vfgY9xXmDnfTC8n0ASkT3EiY0dHAlsk FU1mxJHPPJwOaT2knri/4s6A8hwSO3f1er3NwKh9zXTypxxV5/b8k+K3gk3i7V6m2CVi Yk+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=PWJLpr+e76xHxp+lFdVVcBgYCBwYbNunL9DUBWCjG4I=; fh=GqiQGPemIJhnu6Dh+OonqsRsZtdwq7YvQ4xmEJEZE9Q=; b=xzO/mcvOHTDi8uzafTdiBoOK8RMUn0FvRyMHBJ06FUpfhzkVNw7q/HmPQEh9s1znTR bsdLyHh7YfH+oy+1QB8GTycplYhTCFyMfR5JG9iiZyI4oyD5RynHMqqImxBhbMwBfBO/ wX5xVbEY9kwxv5Y3lOG1Dugt7SbYGn87KfUUAtkzogfItUTIx+uT4INKVIFt0lQGdG0/ QpIRcnD7EqPEVaqjHTCEbH580v8r3j727ly9LKJT1wD9JJ1Nu3/A0Yi4gepL9DJ4G08F +7gUm5ulRw/vwGYPVtWCw42eVSzLWZlZXQgBr/xMAaUuCallk8i29Y4G+yr3O1MgJye0 nQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=T13cPWhM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id ka31-20020a056a00939f00b006cbc5d37e9fsi982471pfb.181.2023.11.23.02.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:07:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=T13cPWhM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 10E0483C7599; Thu, 23 Nov 2023 02:07:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229477AbjKWKGp (ORCPT + 99 others); Thu, 23 Nov 2023 05:06:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234988AbjKWKGi (ORCPT ); Thu, 23 Nov 2023 05:06:38 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A204D48; Thu, 23 Nov 2023 02:06:44 -0800 (PST) Date: Thu, 23 Nov 2023 10:06:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1700734003; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PWJLpr+e76xHxp+lFdVVcBgYCBwYbNunL9DUBWCjG4I=; b=T13cPWhMDqzIfBShxd1T5TJm5RjAWzDQQZuKysDvEoHZQyqjXa2Z/p5LkF/EirlR+70O6B qNagkG/khCuWiodNRRmK7f9n4ZJONg7/ttjXtJnAmEY4E/8rcK0/TSD5f4Fk2PHR3zDRB6 Akpk2Hrg8iyiK+6x1d7bOiBigniCgRAhyQ+TsJ6nRARNrcOg2i4vdSDHsA8Natza9EnQWK 0rUmMgPt2GeySOo8jsAGGvsmGlpYPzQlZiX7sX/0jkSnAUOH/F62pjKKwn9De8hnTCx5nT QLnyo9WYupq3ygZkGHUhHRkajKgea77kfsA2o9OWjF3+yC43a8UBICgQRyFimQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1700734003; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PWJLpr+e76xHxp+lFdVVcBgYCBwYbNunL9DUBWCjG4I=; b=zW0XOz/HtriJYbP6G2nZ2ukJkZIqr/IGEADXLwhl2vSn7uEYxfiV2aB3mbv9zcHnZtQD/b uFd+qtu2MeWMU4DQ== From: "tip-bot2 for Yuntao Wang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/io: Remove the unused 'bw' parameter from the BUILDIO() macro Cc: Yuntao Wang , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231123034911.217791-1-ytcoode@gmail.com> References: <20231123034911.217791-1-ytcoode@gmail.com> MIME-Version: 1.0 Message-ID: <170073400251.398.4232441300253606258.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:07:27 -0800 (PST) The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 03f111710af9ea9cd5a08ecc98e456d1cc0c2284 Gitweb: https://git.kernel.org/tip/03f111710af9ea9cd5a08ecc98e456d1cc0c2284 Author: Yuntao Wang AuthorDate: Thu, 23 Nov 2023 11:49:11 +08:00 Committer: Ingo Molnar CommitterDate: Thu, 23 Nov 2023 10:57:36 +01:00 x86/io: Remove the unused 'bw' parameter from the BUILDIO() macro Commit 1e8f93e18379 ("x86: Consolidate port I/O helpers") moved some port I/O helpers to , which caused the 'bw' parameter in the BUILDIO() macro to become unused. Remove it. Signed-off-by: Yuntao Wang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20231123034911.217791-1-ytcoode@gmail.com --- arch/x86/include/asm/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 7623884..3814a92 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -242,7 +242,7 @@ static inline void slow_down_io(void) #endif -#define BUILDIO(bwl, bw, type) \ +#define BUILDIO(bwl, type) \ static inline void out##bwl##_p(type value, u16 port) \ { \ out##bwl(value, port); \ @@ -288,9 +288,9 @@ static inline void ins##bwl(u16 port, void *addr, unsigned long count) \ } \ } -BUILDIO(b, b, u8) -BUILDIO(w, w, u16) -BUILDIO(l, , u32) +BUILDIO(b, u8) +BUILDIO(w, u16) +BUILDIO(l, u32) #undef BUILDIO #define inb_p inb_p