Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp453109pxb; Thu, 30 Sep 2021 09:28:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4qpIyZLnKD6e3JLTB89/90S7Xd8UCHd71o46aSXlx7OxPeYvGqDgUg1OQCnx0xbwe7syv X-Received: by 2002:a05:6402:5252:: with SMTP id t18mr8134176edd.13.1633019288520; Thu, 30 Sep 2021 09:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633019288; cv=none; d=google.com; s=arc-20160816; b=AqEi755JeM4eXNJ5LCz8hrFd0nWgIlsJozYGHWRqd7Hm+QkyZImDe9m4fFeZZ63vK9 hao2FXH0oLebXprXlUZI+qhcKo6tJeZLstw8ii9E+uh5qFADjRcG5SynSKaUJgHsskmJ WaWSgfwf/eP6y9bWen5SDlw5zSrViBudNlgPmIZlX2tQiw1OJlkrIMbSwvOTx1RWB1tx bGfujjqBQVUj5kuzUFiqOm81njGAM0nOwwCpkxh1lacfGStGFC1YJz70MMGcPIHhkMg5 L/o4/53YI9A/SJiPuLeijjSTDnUiY4H+jMHFM+SDDcNikKhdstREP9sYeGGD7HgKplrY 47Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=IeW1Hk71z1cmQfbcpDIYLHkCw9rpWATlHZMPIfOqLNg=; b=q827bt2fg5vSxvEO5KLuJMzJFjDqjUxwypxkDYM/QCtHn430Eb18CCmmWc8MY3lrig qDvnFLW+poz533XwydFaiU4bmkv5OG9eqqdtfmReXfyK2j7+GXTq7tbZSLAp1bjceFal QIUX4stzNvJ4om0Zo2fnlXcNPPGCUOUjt4Rh1RkBeMzbnthupZQD0plO8TBlHZIQXDZ2 6mTzjhZPGfj7PzLcSt5KwtzL1Gt+qZ6y8ujLZjtUMO2TBc0T3aqU3v/5fg7b6vp5FFNk MXHd5ODiPEleKUB5Ex+62Nia+/XOt9aenTEB1rNanKETXhdPa8nvnGGFjmNAfOb7R6ee +7Vg== 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=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 r13si2791655edq.436.2021.09.30.09.27.43; Thu, 30 Sep 2021 09:28:08 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350438AbhI3Q06 (ORCPT + 99 others); Thu, 30 Sep 2021 12:26:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:48960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350163AbhI3Q05 (ORCPT ); Thu, 30 Sep 2021 12:26:57 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 9967361507; Thu, 30 Sep 2021 16:25:13 +0000 (UTC) Date: Thu, 30 Sep 2021 17:29:08 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCH 2/2] iio: adc: Kconfig: add COMPILE_TEST dep for berlin2-adc Message-ID: <20210930172908.10a31910@jic23-huawei> In-Reply-To: <20210926192642.4051329-2-aardelean@deviqon.com> References: <20210926192642.4051329-1-aardelean@deviqon.com> <20210926192642.4051329-2-aardelean@deviqon.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 26 Sep 2021 22:26:42 +0300 Alexandru Ardelean wrote: > Otherwise most build checks will omit this driver from a compile-test due > to it's dependency only on the BERLIN_ARCH symbol. > > Signed-off-by: Alexandru Ardelean I was rather expecting this to need more dependencies, but I can't find anything that isn't appropriately stubbed out. Guess time to let 0-day and it's brute force builds work their magic. Series applied to the togreg branch of iio.git and pushed out as testing to see if we did miss a select or two in here. Thanks, 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 0ceea8e69e3c..8bf5b62a73f4 100644 > --- a/drivers/iio/adc/Kconfig > +++ b/drivers/iio/adc/Kconfig > @@ -354,7 +354,7 @@ config BCM_IPROC_ADC > > config BERLIN2_ADC > tristate "Marvell Berlin2 ADC driver" > - depends on ARCH_BERLIN > + depends on ARCH_BERLIN || COMPILE_TEST > help > Marvell Berlin2 ADC driver. This ADC has 8 channels, with one used for > temperature measurement.