Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1338574ybm; Wed, 22 May 2019 22:39:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCwLAalWmEpSfsNpsWeldAHuqokcvCRFyntAC6vt8FjawjVgD2NuqNq/mBBlefxBzNfIJx X-Received: by 2002:a17:902:7883:: with SMTP id q3mr21287134pll.89.1558589964315; Wed, 22 May 2019 22:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558589964; cv=none; d=google.com; s=arc-20160816; b=FZchFG/C19QJrv8w/5ZCUIUi9yg1yVV5WAiFgQz0VaPPTW0rHhha3NKHr3B9CooxiB DdZa/EZeqB9cLL/gzCg1nV3X6fxT8qVwsP9MgHzPO65bz39SiD75FbMbr7GPxRfK++gr KBOvrUv5XihfoA0vryXgngwrtX/VsidCsnHww6DhMozQSHp5yPSwTcNkt4BZdH70gIne dF6SLBtCUHgQuDr8URh4aTrBVSHwlOvY+OQnpHmKA+sGlSwc25grM06/Dw5cmfLiDJdu aYj7qTMqV930kIqyZuyAYVF3rPuavb8kiwj4/hRJQ09hywt2Rt3JjHmjh82olgee0BM9 Bhtw== 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=v/xJdrip+BW1AWRCsAyZA6MtTgsn4HGBa99DkauW5Ec=; b=K9dQvd22Awvc8VIULku4Iyez14y8ECneuo1ORfVgQYGEnyxnwWcH92Opf6tWFTO06k 09ceu5Iw27wwYbzOWLDC+F2bkUKmJoQUgf0NFsv1C9pj4s/+wvlzDlS4g/W+g9xrSbup 3YynrUrmw7GiV1EaKkE/FOSFPu6QiSh2ZFxJ4uet8AGc0ZYKVVsuADpIXzW4O5YpGl+D 84eXKl8KgchD1JaDb14MzJmGMoLShMCkUuf9eVx0gF5YpV3VtHo3loHiG2AsZnu9A8hH vaIrf6mrVrwkufo6J7VQ0PckW5cNobM3erlfP/SoOiS65QLdulmRa2qtqej1ksAsj3+V gZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ooNbLRJD; 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 c8si29119202pfn.208.2019.05.22.22.39.08; Wed, 22 May 2019 22:39:24 -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=ooNbLRJD; 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 S1726905AbfEWFgr (ORCPT + 99 others); Thu, 23 May 2019 01:36:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:40570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbfEWFgq (ORCPT ); Thu, 23 May 2019 01:36:46 -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 BEA3620881; Thu, 23 May 2019 05:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558589806; bh=T5rbljQ/TpWOK/SheWHZacX0s9uGf+CMLU0n9yVBEw8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ooNbLRJD3kh3DFoMD5WXtuYc1PKpdqZOddzQSIG6mFIWeRNLFSAPhUwuaXMaFeirf 7Gv1Y/jmgQs/vzdj/BFt59+oRdT27RUSOa795l4i/SQm6xrNzpIdSLWDDBpG5ZgdTL 1oWZKZEsq2N2LzFa5orDlKbsZ2JdU3RtUHzIZNy0= Date: Thu, 23 May 2019 07:36:43 +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: <20190523053643.GA14465@kroah.com> References: <932843299b814f3a22dd176771b46be14ceefeea.1558526487.git.gneukum1@gmail.com> <20190522122714.GA2270@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, May 23, 2019 at 01:35:02AM +0000, Geordan Neukum wrote: > On Wed, May 22, 2019 at 12:27 PM Greg Kroah-Hartman > wrote: > > 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. > > Noted on both accounts. Thanks for the feedback and sorry for the > inconvenience on the latter. > > > Are you sure we need MFD_CORE as well for this code? > > I noticed the build issue when working locally. I was doing > something along the lines of: 'make distclean && make x86_64_defconfig', > selecting 'CONFIG_KPC2000' and 'CONFIG_UIO' via menuconfig, then > running a good old 'make'. From make, I received an error along the > lines of: > > ERROR: "mfd_remove_devices" > [drivers/staging/kpc2000/kpc2000/kpc2000.ko] undefined! > ERROR: "mfd_add_devices" [drivers/staging/kpc2000/kpc2000/kpc2000.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:91: __modpost] Error 1 > make: *** [Makefile:1290: modules] Error 2 > > which appears to indicate that those two symbols are undefined. When > I looked, it appeared that those symbols were exported from the > mfd-core which is why I also threw in a select for that Kconfig > symbol. Assuming that I didn't do something silly above, I'd be happy > to submit a new patch (with only a depends on for MFD_CORE) as I > continue trying to fix up the i2c driver. Yes, a depends for MFD_CORE would be good, can you base it against my staging-linus branch so that fix can go to Linus for this release? thanks, greg k-h