Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7200592rwr; Tue, 25 Apr 2023 09:23:15 -0700 (PDT) X-Google-Smtp-Source: AKy350YN7nsm3oASc6IKnCS9HSxCspkhKXzDjIkNh8eCmsZ46d1H529nNfgt8wLQDRqXvaD5eJq9 X-Received: by 2002:a17:90a:e7cf:b0:23a:ad68:25a7 with SMTP id kb15-20020a17090ae7cf00b0023aad6825a7mr17231516pjb.2.1682439795229; Tue, 25 Apr 2023 09:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682439795; cv=none; d=google.com; s=arc-20160816; b=slTT9EoZZaFI44jRVrwkQuk5Oms1CmT4Zl6zca41FsZ/GvsbnE6XS28w1x4r+H+6cb k/tHICJkVRX1OFNVJda95vrqyh3xC8ajruiTwRSb1JfHdf8UfD4mYBs0Nn8ygHYT8RFR 86BzYKnkuqd6mEO/piy9i7ogPA5/pbs/K7iwtuCkEdsBBbaWfnBYJVxna2mKTj47XZ0c Q4N2YYSLc867F90sq4lyHJtBpuUnTo8gdkB5SRLadm52RXv1JzlVucHPZgccoWwq3bVU 0ywAmwEZzQyWNd7+WjaE/bEGS2gldPkX4DHtcS0bQVk70fhGrS0j+DOmSim3LlP/hhPo +fcw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hrRtBZk0k1IMuQkypB+vLG1Rj4FF1JiqPYUx2v8KIMs=; b=jgIwKakaAnJNa6nS95CJU7f3/p+frb+nWkdWX9TI6u0jj5DcNS6ZZDOr7eOY9hq3j/ XzIhqDG+zbOlqOfi2yBWA//iF9JIE4OcArH2iSXbl8qubD+GRKvFaZ4394PR2RX9mi+A 4jmu6/IHzT82c/eLnIuFL+fpjVlJChwrVt3DmeZmQ0cbTMuJ+r/6JVhP8f3aOFHxmWmq U0We7frBaEjQr8lW+AlGSnaR3XkzWrBm8CiS5IeBUZNthWPAvwELZa27o1CllbzGjB7+ T46Wp3Yy7OsTjzgOe9EvgK3ATGv9hw/OpGEAwtXzmkbeJz/8aYzEK9naIisOnOqgpTU1 G6Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="M/6I0TEH"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a170903230d00b001a1a44cc945si15095034plh.580.2023.04.25.09.22.59; Tue, 25 Apr 2023 09:23:15 -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=@linuxfoundation.org header.s=korg header.b="M/6I0TEH"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234237AbjDYQRw (ORCPT + 99 others); Tue, 25 Apr 2023 12:17:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234427AbjDYQRn (ORCPT ); Tue, 25 Apr 2023 12:17:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87284C17A for ; Tue, 25 Apr 2023 09:17:19 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E851062FA6 for ; Tue, 25 Apr 2023 16:16:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2377C433EF; Tue, 25 Apr 2023 16:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1682439399; bh=7CkwzuZo9NzM+8W8fN6jirn/NF9+/aPfojykB49NBWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M/6I0TEHmSC5LPaLeLjYO3ktXjyG2qK895jjJvcKc2JOf9aELaeSuHCUfyULoLq7s XLmgwotdarnQahI71xlOdO6Y1pRAfEus9u/Jxc2o4jGFRgJPki7IDJD/qG+fOQDilU 9cA7X+nVE6egBhr/N503T0sf7dxahtuXQf7tq1zQ= Date: Tue, 25 Apr 2023 18:16:36 +0200 From: Greg Kroah-Hartman To: kilobyte@angband.pl Cc: "Winkler, Tomas" , Arnd Bergmann , "Usyskin, Alexander" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mei: deduplicate X86 && PCI dependencies, make them apply to all subentries Message-ID: <2023042519-spookily-vocalist-51d2@gregkh> References: <20230425152720.GA4155584@angband.pl> <20230425154314.21728-1-kilobyte@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230425154314.21728-1-kilobyte@angband.pl> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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, Apr 25, 2023 at 05:43:14PM +0200, kilobyte@angband.pl wrote: > From: Adam Borowski > > The Kconfig "depends on X86 && PCI" line was repeated for 4 out of 6 config > symbols here -- which was both unnecessarily repetitive, and caused a > dormant problem for the two remaining symbols lacking the dependency. > > Signed-off-by: Adam Borowski > --- > v2: instead of adding new depends, wrap all of mei in "if..endif" > > drivers/misc/mei/Kconfig | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig > index d21486d69df2..f2ab2696fa78 100644 > --- a/drivers/misc/mei/Kconfig > +++ b/drivers/misc/mei/Kconfig > @@ -1,8 +1,8 @@ > # SPDX-License-Identifier: GPL-2.0 > # Copyright (c) 2003-2019, Intel Corporation. All rights reserved. > +if X86 && PCI Please no, that's not a normal Kconfig thing to do at all, sorry. greg k-h