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 18D96C6FD1D for ; Mon, 20 Mar 2023 17:42:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbjCTRmh convert rfc822-to-8bit (ORCPT ); Mon, 20 Mar 2023 13:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231613AbjCTRmP (ORCPT ); Mon, 20 Mar 2023 13:42:15 -0400 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB8FD2F05A; Mon, 20 Mar 2023 10:38:13 -0700 (PDT) Received: by mail-ed1-f51.google.com with SMTP id r11so49914970edd.5; Mon, 20 Mar 2023 10:38:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679333868; 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=rZotrnK0BQHQbLHJH05swEdzFKEdXH40eo0fD7GE5Hc=; b=w1/i/D8MFRUMF0l/zwAvqIhxrOrYyEzqPWtY7f6EJue8ayl8rpl9PyaE5f8W88adQC QQhiDODCDUmJT34pQr9MQ9l8j0DKjiDIGuTziqgFDSij9XREsvWofXfLilVsCpAM1Vjd 5XyeRrj+yr3ImwkNQzVEFJZ/nqsVIIgTghYjp+T7MQ4GOXMCZtZo2whTB1GGkyCyV7Nn N9HDgTih8ZoJRf6/sP6f3gMN9OUd9vwXQ3rsylRCOlA2sUAeJ5T/gg6GBVVNXp+9VV1F IvWU4rBB/WY+FAKRteiqsStszoN0f03rpBWAnN2OjGZgvLlG5sBuTLfj5L7JDuRCiKfl KXEg== X-Gm-Message-State: AO0yUKXym6NrxtXPhm72G3Zf1tFWAEqqWrLu25C/x+cj1e+Qy9X1LzDi 049yfAmqUT1sA6W+NPpexGauFdgnU1FGAZPUyS4= X-Google-Smtp-Source: AK7set/7mKYdzFXNHBsJkH4BxDkLEiE9GiBxDky6AIoIRPmj56YQuwHBgUnMSN8Ec87G7/8Jp2UVFLowqIhE4IG2rVU= X-Received: by 2002:a50:a451:0:b0:4fb:c8e3:1adb with SMTP id v17-20020a50a451000000b004fbc8e31adbmr201778edb.3.1679333868217; Mon, 20 Mar 2023 10:37:48 -0700 (PDT) MIME-Version: 1.0 References: <20230314121216.413434-1-schnelle@linux.ibm.com> <20230314121216.413434-27-schnelle@linux.ibm.com> In-Reply-To: <20230314121216.413434-27-schnelle@linux.ibm.com> From: "Rafael J. Wysocki" Date: Mon, 20 Mar 2023 18:37:37 +0100 Message-ID: Subject: Re: [PATCH v3 26/38] 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 14, 2023 at 1:13 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: Niklas Schnelle > --- > 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 . > -- Applied as 6.4 material, thanks!