Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp610391ybz; Fri, 17 Apr 2020 07:03:11 -0700 (PDT) X-Google-Smtp-Source: APiQypIVljL615thd3ajOEvrSMkPp6XwFwQZVgzP5lnFqWTUQSbLDWi32iUrs8ZsqoVgZURkHbl+ X-Received: by 2002:a50:d981:: with SMTP id w1mr3083599edj.275.1587132191070; Fri, 17 Apr 2020 07:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587132191; cv=none; d=google.com; s=arc-20160816; b=taTF2LLtGPcYqnr9owgD4gFnfihvoDj3ekzanST9IKUL1gxTODL3/hQhlWEumSA5I4 X+LvTNusD+LUONhNRCyb2pRJNfRVGtG91SeMISi0qGxM+ThfgeBXFxJUyJhyx8imNe9U KgJ02OMJKY/zJg+cGzs/RuFOU5Vnib1ngPDHCZ55hVOvoYt7tK9CnN6zWZXU4XThPBNV aKu451Cef+dUKSYgduVB6Y5XqYHBRIBgTT1GR82oNKY3XYMT9ZZMMbTL4efhdyMtRMSl vMPbvDuzcdXN3Ubitlv+y7Yfutry8EPKAct8WmgrrwC0wF/vp/zEkUKGpkPXp/xrTNU7 gyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=bL4f7/0PZpXnCxJQNGFjLnOyO8V3OWkrn21zJvuMOgM=; b=s8PT6YEgpANOdrxWjIR933GhtjkLi8vUIVZQSwrNwWbagKRAJ0l77ciO2Hs8rIaI6P p/NUTOXSCu0dLmCx9no0sP1NDx+VOaekfVRytoWbnsyb8hE0tUYE2kwrmjn++MLysgZd 9zUqEchKjoLKRZQY1/cW/D7j/axF3EMsD7IB6zX9wk5ptH3JK5iWQanUrmovyFLlzYSe nV60SqQbVdRUecBE18f99p1hz+8z4GB3iBPOt0603Ru3PT16SOyT4CXH5o0b2wFwlw5G axmqo9xNm5eDwKWkwz2BBXU9fQLCVqd7mh3U2WX2SC2/ReSwi8YS6Kto6lyEUml6IFSK 9zTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k27si14156340eja.340.2020.04.17.07.02.37; Fri, 17 Apr 2020 07:03:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730813AbgDQOB0 (ORCPT + 99 others); Fri, 17 Apr 2020 10:01:26 -0400 Received: from mga07.intel.com ([134.134.136.100]:17012 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730563AbgDQOB0 (ORCPT ); Fri, 17 Apr 2020 10:01:26 -0400 IronPort-SDR: 9G5Y4n+m+tA+3V/ar4rIO5XZI6Yb6RI7j8XrjHT+4sPh9x9DXqb28r4DM5LGQvpv8KH5D2q2dd BZ/bAv7CJvHw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 07:01:25 -0700 IronPort-SDR: xEz2/0SJGhLBRYrVu2I7Ws34KqqK5pqUSvSLjjTEr/7tqRLaMzE2OaYX4cGlmmJzKLKuMfyUU7 r5HAKpcCqDyA== X-IronPort-AV: E=Sophos;i="5.72,395,1580803200"; d="scan'208";a="428234168" Received: from mcintra-mobl.ger.corp.intel.com (HELO localhost) ([10.249.44.191]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 07:01:20 -0700 From: Jani Nikula To: Jason Gunthorpe Cc: Saeed Mahameed , Masahiro Yamada , linux-kbuild@vger.kernel.org, Arnd Bergmann , Nicolas Pitre , narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, leon@kernel.org, kieran.bingham+renesas@ideasonboard.com, jonas@kwiboo.se, airlied@linux.ie, jernej.skrabec@siol.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Andrzej Hajda Subject: Re: [RFC PATCH 1/2] Kconfig: Introduce "uses" keyword In-Reply-To: <20200417122827.GD5100@ziepe.ca> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20200417011146.83973-1-saeedm@mellanox.com> <87v9ly3a0w.fsf@intel.com> <20200417122827.GD5100@ziepe.ca> Date: Fri, 17 Apr 2020 17:01:18 +0300 Message-ID: <87h7xi2oup.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Apr 2020, Jason Gunthorpe wrote: > On Fri, Apr 17, 2020 at 09:23:59AM +0300, Jani Nikula wrote: > >> Which means that would have to split up to two. Not ideal, but >> doable. > > Why is this not ideal? > > I think the one per line is easier to maintain (eg for merge > conflicts) and easier to read than a giant && expression. > > I would not complicate things further by extending the boolean > language.. Fair enough. I only found one instance where the patch at hand does not cut it: drivers/hwmon/Kconfig: depends on !OF || IIO=n || IIO That can of course be left as it is. As to the bikeshedding topic, I think I'm now leaning towards Andrzej's suggestion: optionally depends on FOO in [1]. But I reserve my right to change my mind. ;) BR, Jani. [1] http://lore.kernel.org/r/01f964ae-9c32-7531-1f07-2687616b6a71@samsung.com -- Jani Nikula, Intel Open Source Graphics Center