From nobody Mon Dec 29 21:53:03 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 741DBC5AD4C for ; Thu, 23 Nov 2023 03:50:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344548AbjKWDuO (ORCPT ); Wed, 22 Nov 2023 22:50:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232935AbjKWDuL (ORCPT ); Wed, 22 Nov 2023 22:50:11 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C6401B6 for ; Wed, 22 Nov 2023 19:50:18 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5c1f8b0c149so304539a12.3 for ; Wed, 22 Nov 2023 19:50:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700711417; x=1701316217; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OGO4SfYo4kJMDR301LbewsEuTuF/QqwlGJ7a0/sCoJw=; b=C8iBIZvUMSPl3jQ9xplCVgmDfcnv1IR3iK5CryMb1jVuRC4G5yfqCLCwTK1ipEY1oQ zaRwF1JcBqPbW3m+toJstZWBGXcTYlgJP8CvKTPPsD+DAznB+PWyHY7hTNbdzkZsUg9m f4KuJYU69WF9IJCcX3IwC0vvnd5h1qgApvOgu9u7y8dJxDKOU14sGqEyk0MSSG1hCljB kAWxr/oiYkB7SYlKZufzikjrrCzxTmo/hnu4sz0sigdoh1SWJAyrFegazKLgcGxyknxc TgwpO2IZXJaNy7eVhKrraRLraE1fkt6zEE/2TpMIB4aZuw/tpfOwius6ROozWwTUQwiO 0glw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700711417; x=1701316217; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OGO4SfYo4kJMDR301LbewsEuTuF/QqwlGJ7a0/sCoJw=; b=xMagZ97PCr1NdiFLo45Z5xOjZ+LyMBc7JGReOQPPZXfR9Og4c+3fcRIKUEf5bcWlMh pIwx6WBdn/eRZns3xNkD7EEDKpAG6wzjRvBCujo+HP9g//Dsb1YtHPOPdmZzrqnNHopK YG3aWbck5cFhdC1xxr8L8KxhKGmuBENq9CJ5vxQj+5qq6NiAQ2Ab5LFaY43Fe/0p21zi hInXIuOh8bxBBH8hkhX3Spln3GWvaHBeuxadFh95WjGB1IgLu8g+cutVi1CpfGlNqTG2 LlFh1B4IFe/YoiaKmJZ05CHjAtf3Vi/AeFQzAABUegCxWpdBmFDxQcriLpIdc4OSn5ab zhTw== X-Gm-Message-State: AOJu0YyHoso1yQD3je5aHFLE4C2X+iUh9DH+mznEsNJ/i3JXNqYOCl+S DX4b01Ehs4AKwZMpgyz9JOI= X-Google-Smtp-Source: AGHT+IFW9CzBH5jno+mlYTeCbOhiWYAmIUoGRB1IPf5CpkgVwzp63G3vwXDJldQPIJ5+T5233t4NfA== X-Received: by 2002:a17:902:cec9:b0:1ca:e05a:93a2 with SMTP id d9-20020a170902cec900b001cae05a93a2mr4207492plg.32.1700711417461; Wed, 22 Nov 2023 19:50:17 -0800 (PST) Received: from code.. ([144.202.108.46]) by smtp.gmail.com with ESMTPSA id o4-20020a1709026b0400b001b898595be7sm188293plk.291.2023.11.22.19.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 19:50:17 -0800 (PST) From: Yuntao Wang To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Baoquan He , "Mike Rapoport (IBM)" , Geert Uytterhoeven , Andrew Morton , Yuntao Wang Subject: [PATCH] x86: Remove the unused bw parameter from the BUILDIO macro Date: Thu, 23 Nov 2023 11:49:11 +0800 Message-ID: <20231123034911.217791-1-ytcoode@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The 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 be unused. Remove it. Signed-off-by: Yuntao Wang --- 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 76238842406a..3814a9263d64 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 --=20 2.43.0