Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7735405rwl; Thu, 23 Mar 2023 08:06:52 -0700 (PDT) X-Google-Smtp-Source: AK7set+OHlU3A9irqdSQkODBVN/yYY6OgKqa2wTrXyToh/VpJ33bWwS211u7CVdSvPWVdUqWXfL6 X-Received: by 2002:a17:90a:1a51:b0:23f:6edd:41da with SMTP id 17-20020a17090a1a5100b0023f6edd41damr8657969pjl.29.1679584011858; Thu, 23 Mar 2023 08:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679584011; cv=none; d=google.com; s=arc-20160816; b=OJi13IfvfmU8Sczev0l9IeNGkAXP2igKbxW20iRIoEw+4+Y3AOeSa5TadZoMPiRYFw uk1FR3yoJ/+4Vt5SNGXTJkJaMUc0kcZmH1vMRZEMFkX2CFbEj841qzD+0dU0ViPQA/m1 6GtebErD5TCcPzzqYQ5F13keLtpXnRIW+lhhbDz56rTpD0AYIF39LmZcwzMFEuXiOjip gj+a/daAoU9v0kvpHH+mc6QId9Kj6QNgm8GNuSclgFmlrTPJDpnjA8IzHGzMJrBw9PHy sJSlRctvB3uD3Bjx37La5gg7BGEcRKErXLMfrviwF39Vf10G25dwzEv64LT+ICGeX/RJ pYmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ylhtm4KxzCAwlv4cq7JpHEFmL0OKsw/rJtJX+SZNECo=; b=AIg1MF27qg4I0yCLiKyGc2QGe93/OVRZixUT9a5Zra8iMDFcKYOzDkc8kvos2Bg5LI JAAt8kzmYKj+7ykXm0FZxmB/TbGb2J1XrpGbC5O7z4bhJxhrfV/1EDviFK4HZ/xZgrbs J8JKA40iNcfEF9MVlko+cKNSH/rqpW33IFaYSbQofDBCXj4/JJaq2Z41U2D7vFZPyEuY IlCCgFxv21dwrynQ9PWN3gIPVL4/kE5Iq+KtJ8gyShwvbtPdYcD5s9Di37eHZfCxN2EL fS2dG7kJMuSFJrZZ4+7WYCg2rp3S7872xuDb8xcf3kRKJMVSWafV7je04VNh4q5b3riU XVLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LjKNupO1; 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 y6-20020a17090aa40600b0023d19dfe8a3si1884408pjp.94.2023.03.23.08.06.23; Thu, 23 Mar 2023 08:06:51 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LjKNupO1; 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 S231830AbjCWOxk (ORCPT + 99 others); Thu, 23 Mar 2023 10:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231673AbjCWOxj (ORCPT ); Thu, 23 Mar 2023 10:53:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A10051633E; Thu, 23 Mar 2023 07:53:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C6F1B8215D; Thu, 23 Mar 2023 14:53:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C5CBC433D2; Thu, 23 Mar 2023 14:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679583215; bh=Fbc5lblfr5vwI/xmJ8hOyjrQuPwaaW8Tal29nn1TDoE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LjKNupO1HB787aNYEXWIWNmy9QTnlX5T54S70BYryxPuXaWGZE4tLs23eJRHcpLiF hmvRMQ7fjZpW43E8MqAhVNjLmbmmkDGIh1285/R6bts5yelQ+g0ZWrFPmxIjGeUxON Cl+a4aPUmGZCtj8K3JXxDtG5cgEt4SlldB7fXbcHi6w/8XinSD4Amu+CGQkpwqStpV MUg3jA9Ens4sdRIDU+YpYNWuNfrmC80TqSGOvt8Af07+j/O4wSIlEI9QR5AJkSQalr Ds0p67+T7Ke0DhIhilgo1rnMBjiOeFDN9mNXS9v7dqLwlmOkOJ2hfzvuFa7lfZc2+u 7AmvRVchsGTWg== Date: Thu, 23 Mar 2023 14:53:28 +0000 From: Lee Jones To: Niklas Schnelle Cc: Arnd Bergmann , Pavel Machek , Greg Kroah-Hartman , Bjorn Helgaas , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , 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-leds@vger.kernel.org Subject: Re: [PATCH v3 15/38] leds: add HAS_IOPORT dependencies Message-ID: <20230323145328.GM2673958@google.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> <20230314121216.413434-16-schnelle@linux.ibm.com> <20230316161442.GV9667@google.com> <607a80040fc7e0c8c7474926088133be1e245127.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <607a80040fc7e0c8c7474926088133be1e245127.camel@linux.ibm.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Thu, 23 Mar 2023, Niklas Schnelle wrote: > On Thu, 2023-03-16 at 16:14 +0000, Lee Jones wrote: > > On Tue, 14 Mar 2023, Niklas Schnelle wrote: > > > > > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > > > not being declared. We thus need to add HAS_IOPORT as dependency for > > > those drivers using them. > > > > > > Acked-by: Pavel Machek > > > Co-developed-by: Arnd Bergmann > > > Signed-off-by: Niklas Schnelle > > > --- > > > drivers/leds/Kconfig | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Applied, thanks > > Sorry should have maybe been more clear, without patch 1 of this series > this won't work as the HAS_IOPORT config option is new and will be > missing otherwise. There's currently two options of merging this, > either all at once or first only patch 1 and then the additional > patches per subsystem until finally the last patch can remove > inb()/outb() and friends when HAS_IOPORT is unset. You only sent me this patch. If there are in-set dependencies, you need to send everyone the whole set so that we can organise a suitable merge strategy between us. I'll revert the patch for now. -- Lee Jones [李琼斯]