From nobody Wed Dec 17 17:27:30 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49BD3C636BD for ; Thu, 23 Nov 2023 10:06:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344355AbjKWKGt (ORCPT ); Thu, 23 Nov 2023 05:06:49 -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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 03f111710af9ea9cd5a08ecc98e456d1cc0c2284 Gitweb: https://git.kernel.org/tip/03f111710af9ea9cd5a08ecc98e456d1c= c0c2284 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) =20 #endif =20 -#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, unsig= ned long count) \ } \ } =20 -BUILDIO(b, b, u8) -BUILDIO(w, w, u16) -BUILDIO(l, , u32) +BUILDIO(b, u8) +BUILDIO(w, u16) +BUILDIO(l, u32) #undef BUILDIO =20 #define inb_p inb_p