Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp412736ybm; Wed, 22 May 2019 05:29:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXZ9vYfNDN9TMxxYiMe7ainrjxiNnl5bjwFpEl4InxLYlvfPIggnjGCKpr4SspbIuuCdxW X-Received: by 2002:aa7:881a:: with SMTP id c26mr89119122pfo.254.1558528141672; Wed, 22 May 2019 05:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558528141; cv=none; d=google.com; s=arc-20160816; b=LKeaxq4xJKvZlyljmlh3cVi/YNIlhptntJKva7U/29I/Ql8Wv1eiCE4h/gRJKIbIiA /QVl3fNqwQRiAob0bAAHkxOmZXOEFu2t1d3pjGDMSB5OzeV3v21xoz/mwamtYxa6hl3Z d85LtcObuyefnzrPWFQvTBLC+ZO5LV4Wl9V4TaxP3ydclt9B4aWXz22AoutH3gQeCuE6 ZmnlVR8p5u4dMTS6qTCtKkATfTcNXyfD1z+bL94p0kT1hOiH2lidHQAg5Io4LIeBTJPw YCrZ6k6T6ArRfYIgVGAPm6djIek5jICqocFNajCuQc+KW81lubVONS5oS1nw2EbVnOeO adcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qs5lN3VYncRHy8irTidU6rWnJdEhloAkTGrXBwKDofI=; b=S63v2ji2t20wHnGjlfNcT827hIw9TC1r0F9jXVf+DRwkJ9Qq3CDa9XHN6nbzOqQgn8 3TLIFQY6QYg4PrUK3JDsyGFAt66f33eHCaosybXNKe7TfUO6xHISEjSmbYBqByhvFShK r9UtRsGxEWcHdEaHyiPnt+I68Xc/fGGjjxRocU/Fjb1ysgJkqiRhT/m1J5LXqUaHmqLc yiSm5cftMBdEAVjJWKlu5JxeHTw1nLfdbQWCtiKR7i8XWqS8c2jrS05wwSk7hXD55MyG WHgy4/8ul/A/mZFBzwg5dvyISMeHSS4FmuIf2l/MeOdsh92Ss6WzQeSVlYxKba05+aIk 9ykQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="syKJ/UmP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si21113770pfi.184.2019.05.22.05.28.46; Wed, 22 May 2019 05:29:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="syKJ/UmP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729219AbfEVM1R (ORCPT + 99 others); Wed, 22 May 2019 08:27:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:60882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728468AbfEVM1R (ORCPT ); Wed, 22 May 2019 08:27:17 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 841F42173C; Wed, 22 May 2019 12:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558528037; bh=+GF+6gGeAQLWS1PYEAHsBHfgN/elXRl0cT8VNN1Tgx0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=syKJ/UmP+vT0+IRYzgr2Wo3ixVdN4xYncKvArjFwyMD41phUE0QTjx/8ziCeFWhLv g930YWcEFQZqxD42eMd5igKRZmDQhNr5qNugSAym1pFDD/A/UMU0jDNWVuGRilv1O0 Yh+I/8tDVW7i+/diu55IaQd/PoyJwn/kp/HZbLkE= Date: Wed, 22 May 2019 14:27:14 +0200 From: Greg Kroah-Hartman To: Geordan Neukum Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Dan Carpenter Subject: Re: [PATCH 1/6] staging: kpc2000: make kconfig symbol 'KPC2000' select dependencies Message-ID: <20190522122714.GA2270@kroah.com> References: <932843299b814f3a22dd176771b46be14ceefeea.1558526487.git.gneukum1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <932843299b814f3a22dd176771b46be14ceefeea.1558526487.git.gneukum1@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 12:13:57PM +0000, Geordan Neukum wrote: > The kpc2000 core makes calls against functions which are conditionally > exported upon the kconfig symbols 'MFD_CORE' and 'UIO' being selected > Therefore, in order to guarantee correct compilation, the 'KPC2000' > kconfig symbol (which brings in that code) must explicitly select its > hard dependencies. > > Signed-off-by: Geordan Neukum > --- > drivers/staging/kpc2000/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig > index fb5922928f47..8992dc67ff37 100644 > --- a/drivers/staging/kpc2000/Kconfig > +++ b/drivers/staging/kpc2000/Kconfig > @@ -3,6 +3,8 @@ > config KPC2000 > bool "Daktronics KPC Device support" > depends on PCI > + select MFD_CORE > + select UIO depends on is better than select. There's a change to depend on UIO for this code already in my -linus branch which will show up in Linus's tree in a week or so. Are you sure we need MFD_CORE as well for this code? Why hasn't that been seen on any build errors? thanks, greg k-h