From patchwork Thu Nov 23 10:06:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 168844 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp338055vqx; Thu, 23 Nov 2023 02:07:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHbnAYLKlge0NQYvzbYhrxIF8sgYzL5918T42zs67uGFp/VEIOlWjSOy0TAZ4Jb3luVOtnz X-Received: by 2002:a05:6a21:1495:b0:186:7eaf:7176 with SMTP id od21-20020a056a21149500b001867eaf7176mr4169960pzb.59.1700734066241; Thu, 23 Nov 2023 02:07:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700734066; cv=none; d=google.com; s=arc-20160816; b=v7UZGhgWIDWk4U7AWeFDUOuyS8qmnd/rzELJWvf8r4Oxqm5fWI939dQ2sD1dhZzFfs 3xNYDG2mDMOTXdf+4DtnzrQpGoRSRbF14V2pvnSFrfc7VvXUy1QVzxS6dWnn+Ze2ROBU t0tWFEjPVRuohIALOqZYoBt0LDbYAa4LGSP0WI7k6sp4ct2QX5/VwJO9QP6xBtIxMRT6 ihOs7/y/KghZw3kBub4adpEJGy1Gz5Im0hXLoYMsM6jEQWDrRRgW5tplPLdSlDNxuOaf 7I4WcKESw9Y/sa7MP1NGuksaxoeFtwmNRgSXdFZAW23EiAmviiigeSgvLHOLPWZ9kjJj XP+Q== 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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e1-20020a636901000000b005b7dd20f8c1si971555pgc.20.2023.11.23.02.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:07:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; 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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 468C383C7592; Thu, 23 Nov 2023 02:07:05 -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 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:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783348924187133820 X-GMAIL-MSGID: 1783348924187133820 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