Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp2072807ybm; Sun, 31 May 2020 07:45:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2LRxqhxwsQxblZhIusKyr4LCsJOizLOUptpTjk4/H7okcJjNEaMe0N2DDedHce+V8y6dm X-Received: by 2002:a05:6402:34e:: with SMTP id r14mr5816356edw.351.1590936301670; Sun, 31 May 2020 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590936301; cv=none; d=google.com; s=arc-20160816; b=wQgBBVZ1rJ2ZVykjyU/IPSVG1qm9O1RctPPt9DFm1rCF6CWhiPeqTLIPARewcB+Yeh JWZpmZW9U+B0oqUZnCWwQ7gIqhUediB6BZmwudT+QMWltQZt59bQ0UzZOezGOSaCA98M +aotRI8H2XF0+D3vfLUusnMp5TlIHEM4YL5s+0uIr6d8haBXoMtcxxlEaGCOit98E/xw 0Bgnh/H8LAkqwruMmXoJ88+8QI2syazh2i6v3GKiPUT/AbfLImrLEp93XgheN6lQWVcT pfixs4/Q1agPKYlcfR07Vf+IhwlmGhLMROcB1F82o1wnFzUZLbfotv+lFFnMtctrdPx4 0Phw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=2n9O6YJD1d0V+uEwIA3sRQ853+aC1ZE0wHwWLIHwm0s=; b=yw9fq0pIPqt99AgF7oTnrdsGj9w58yaMa9Mz8DpwvSSx6ZdvgA2RJE+tC1Ht/ZYnoU bOSfrLL62iITKuPQEx54++dOgdlh1FeS3H6Rvg0j6ANz4yqxGNv+ViNLXKumDVWK9Qd8 2LZJsOfyerIkRGMkslYrekdKCCXPkSR+RxRGLFe4b2HelRw5WTaXXh7sK+WzGCdlqMNg fZWDunVzVLdjaO1gq7W/x+oxQ88m6ICN5Hhd0GaSdXhlGPCvhAO++k6kIQ8VhBAZT4bm 98eq/Bxwp2xn+4kevAtbAxnVcpFc4zXea0q0N2cd41oKZ5ukzJy2dl6grA4Zp33MnZVl VMsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q63VwJGZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si4247195ejf.719.2020.05.31.07.44.37; Sun, 31 May 2020 07:45:01 -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; dkim=pass header.i=@kernel.org header.s=default header.b=q63VwJGZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728093AbgEaOkW (ORCPT + 99 others); Sun, 31 May 2020 10:40:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:40184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgEaOkW (ORCPT ); Sun, 31 May 2020 10:40:22 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 88E2D206B6; Sun, 31 May 2020 14:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590936021; bh=6yQVUf6eZyFT6lMD1GCa340xEGAioytVxc9js4MHTtA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=q63VwJGZvgs9AhjZpY0fXN9BcBIiEyov3MRaTZDQsiX6saVwTUWz9tE5t4z6k3hYQ 3cedlqnJ/TFbmsemKkxou43DrugEmzfxiOMj+GNpI0Y1Tr54qjOucpsFqRaisdyxVz 23RCq+ADdezYf+qglashef+UdCmMv5gMQZuANppc= Date: Sun, 31 May 2020 15:40:17 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: , , , , , Subject: Re: [PATCH] iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver Message-ID: <20200531154017.04fc727f@archlinux> In-Reply-To: <20200525102744.131672-1-alexandru.ardelean@analog.com> References: <20200525102744.131672-1-alexandru.ardelean@analog.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 May 2020 13:27:44 +0300 Alexandru Ardelean wrote: > Since changes can come from all sort of places, it may make sense to have > this symbol as a dependency to make sure that the 'make allmodconfig' && > 'make allyesconfig' build rules cover this driver as well for a > compile-build/test. > > It seemed useful [recently] when trying to apply a change for this. > > Signed-off-by: Alexandru Ardelean Makes sense. Given this sort of change can expose weird an wonderful dependencies that were previously hidden, I'll be wanting an ack from at91 people. Jonathan > --- > drivers/iio/adc/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index c48c00077775..c1f4c0aec265 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -294,7 +294,7 @@ config ASPEED_ADC > > config AT91_ADC > tristate "Atmel AT91 ADC" > - depends on ARCH_AT91 > + depends on ARCH_AT91 || COMPILE_TEST > depends on INPUT && SYSFS > select IIO_BUFFER > select IIO_TRIGGERED_BUFFER