Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp585131rwd; Tue, 16 May 2023 05:26:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eqgREdhKcS9ybH4wK0+uqH+CL7mqf1fpbXRi3KMyu+67Pgne96u7m0Dsgu3d6AAEGn3Sw X-Received: by 2002:a05:6a20:12c2:b0:103:883b:10c1 with SMTP id v2-20020a056a2012c200b00103883b10c1mr27391108pzg.41.1684239961807; Tue, 16 May 2023 05:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684239961; cv=none; d=google.com; s=arc-20160816; b=PIzSBrFrTtZEVPbqYUVW4n0lCb+OfZ2Qvu8YFShL9jsYAqPo4hl9VMAVCYHH7B1Sbs yssa+YMkY+/ubg8LMhjfNTkENJQwaEIma/bAyrd7TnW5WxStpuK/LL6UoPWr2XYD6zYm 2l93RKVGTvOCuzoKSkHQQDZeCYMtLbJsLG9yxJ2IThS9r6KUoduJb0PMKWk7syxiLK7/ 3hhbiqzyLAvJWwxD3fMRIRw3eO0Awj/T3RYuhNd3tGM/XzyZgk09dcK24B2lIxYiybn+ g1+ti/gbkbZVkHQVNRhGuitF/gz5LuuIM5AALMSHLBNh4jzOVzXkv/DCjltFGgYJKviH wijg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=tt5qQvVJXZwM6ux6efT/44nMgGR2lrA9nXGrQdW5DBY=; b=uF3KE/Lnj89Fu7nwOnkXw5rRq4eCfxZKEyqz+3mohZ8LjL8F0KZ8oODEd6M3kgDvAH Xt4FAuz5i4n4br3OJQ8H9Q4dCBeroZCxGZOJFggIjNaWyP3KSW/OPgq4OTFUjQpip+aC sAjf3nkfyvthiaENcw0ru7oCyw1P/7+vNDQQEunrnvs4qy7UU7QhWd7vF34lvEmE6z22 QCn/vhqWTIGnkKr4TipNO93OeX6wF4tlsjysLy5H+Rv7YEDSSholrjw4xhKorK+A96jA NAEQy83XK1+MAY/745xfoXs0ht7f5dBeohsXTGcA8dYeXcjsqm4CAseNJO5LLZSHLBK9 byBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s73-20020a63774c000000b005303b49063esi17494994pgc.443.2023.05.16.05.25.46; Tue, 16 May 2023 05:26:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232524AbjEPLz3 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 16 May 2023 07:55:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232739AbjEPLzZ (ORCPT ); Tue, 16 May 2023 07:55:25 -0400 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3B6630D2; Tue, 16 May 2023 04:55:16 -0700 (PDT) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-94a342f4c8eso357644366b.0; Tue, 16 May 2023 04:55:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684238115; x=1686830115; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9q5DgTfm8dN9Omjxcw65gevA2+mgzpXo7SfWnYHWz0g=; b=jEjV+Yxz7ptaFr7s5sAGGvKfmStF9UB+eF37s9KC2TStNeGyFjbzA6ye1mHFYrIsq/ qoNPVPXJc55mKh6Au+NuyOSgKqV5Xb2N2MAe0WWwq9SaUHFf4EKbLzDni2BlMyO/VVGN X3BMoVjGWC+HMJfs80ACHghUPnsvRLgVVrLmSAgc+pwkeHxtLkMUQSVRMNvH9opqUiLD b3HH6Nw9jQMZB4aUKCmmLEyXoBxnzpzLp618KBbZAZAAOFz1NDS5Vy84nW4L7M0bRmHN iS/K8r2W9hx90+8kUGwAGVBJ2USCmfltm5XxqOTmOfn2FDznc7TPaOLojWtAwm3pLlnV LIsw== X-Gm-Message-State: AC+VfDwsoPGSvVQvEIzKzj2/b3oN+s3KaKWqmxgxKc7iDskZpNoVPnyG qSStWPjygNIiv1gwsKVM0p49MkKPhx3dxoMlQ/g= X-Received: by 2002:a17:906:51cb:b0:94e:d688:fca6 with SMTP id v11-20020a17090651cb00b0094ed688fca6mr9170548ejk.0.1684238115020; Tue, 16 May 2023 04:55:15 -0700 (PDT) MIME-Version: 1.0 References: <20230516110038.2413224-1-schnelle@linux.ibm.com> <20230516110038.2413224-27-schnelle@linux.ibm.com> In-Reply-To: <20230516110038.2413224-27-schnelle@linux.ibm.com> From: "Rafael J. Wysocki" Date: Tue, 16 May 2023 13:55:03 +0200 Message-ID: Subject: Re: [PATCH v4 26/41] pnp: add HAS_IOPORT dependencies To: Niklas Schnelle Cc: Arnd Bergmann , Jaroslav Kysela , "Rafael J. Wysocki" , Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 16, 2023 at 1:01 PM Niklas Schnelle wrote: > > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to depend on HAS_IOPORT even when > compile testing only. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle Acked-by: Rafael J. Wysocki > --- > Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so > per-subsystem patches may be applied independently > > drivers/pnp/isapnp/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig > index d0479a563123..79bd48f1dd94 100644 > --- a/drivers/pnp/isapnp/Kconfig > +++ b/drivers/pnp/isapnp/Kconfig > @@ -4,7 +4,7 @@ > # > config ISAPNP > bool "ISA Plug and Play support" > - depends on ISA || COMPILE_TEST > + depends on ISA || (HAS_IOPORT && COMPILE_TEST) > help > Say Y here if you would like support for ISA Plug and Play devices. > Some information is in . > -- > 2.39.2 >