Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp427834lqj; Sun, 2 Jun 2024 05:14:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7X2f4tNb4HwfoApHlQddjHwikkNHGAU3TaJ1ldMb+P5eclXucV2WBUAN5lU5Qmz6O4uHZAb4Lydv11dBazwyE96XhRBmvCNecObeG9w== X-Google-Smtp-Source: AGHT+IF7KSGdarJNdTXUR3ivHVCw1EUV9RyDnDfmDMGQ7LO1CxOi7i06hyNUw67Rl0VwVtQY1upE X-Received: by 2002:a05:6358:183:b0:199:48cf:99df with SMTP id e5c5f4694b2df-19b490c7dfamr813351955d.31.1717330467736; Sun, 02 Jun 2024 05:14:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717330467; cv=pass; d=google.com; s=arc-20160816; b=ZGTdbRP9h8jFHwpxTnRC3NglD9jXV3jDu/CPG/G9j5QeHCEN0n2VH55dy89SkENSOl fUHWECXMxF/OkkhfuJEnLljpOgsefz+etwmw8jMwy7scIll1AfMdKyz0NOlsLCozKTbO iiYaF69KrWr65ceK9bPQsxpxtmoX/wfn3YtpVQyZTDh48v1UKkXzVOIYXlbrktX4XxfP fbcM5ovbEW1ktjV82NZ7tCXU4ne3rUGbcXJdGoXKpLOo3GqiQiyjDBvHcQqL12bPlF9K N0rLzSPKzf8e7YJE9uJF229FJ42jB52kfhNqcPb04tOcBTX/a96W6p3tkPb1GnKRJ2k4 E4Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=miEiGWm2+ntCH5f5SoeSTAVniwWnl4HtGbPoJcC3D88=; fh=xuUv43A5Zj4NR2F6ruMxZi9YP8UGv4eSFCb+t4RgcHM=; b=m975q/03VhKum0j0rnTRS/HqBYrWKhre/CNnFtveYETOCSGIXuOCfFAbRvdX6rJ28A GUSTul8mnHKAvphMLv+Jk5FynNhZODIXJITiahRgyJVnbhIqMaDGPNCI6jAUNZStfYGQ MCEZFISSnOebK2Yyo+/6vOwJOGLGriNnFc2RSVoS7wH948kgUts1FN32H2vcT5NMirQK 8DHK6lK1crOviozAC2RaD8QScNmiA5YHTTule62hzsvcRUNUROriyYdFvXXSWNpqG/2n OpCH8OgnFBv8GBezIlDXo1d2JwNRMJRvVcjDUhUaLyzV5vUuRj/LZHo1hipodL/8hysk kLLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WOee0fy0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198225-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f2e603ccsi694848585a.0.2024.06.02.05.14.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 05:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198225-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WOee0fy0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-198225-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198225-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 711F61C20F03 for ; Sun, 2 Jun 2024 12:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA8D539FF2; Sun, 2 Jun 2024 12:14:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WOee0fy0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 128622D058; Sun, 2 Jun 2024 12:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717330460; cv=none; b=pFuLle4ohj8lY5Ht9da1uj9yXQDR05W0J5G2wUKeX4kSTHuBTK6N8odJ1pST/k3WXrHle6/xm4l7fid4L1hkAs+6ol+hecdwubgMfJlMl5zkOVSsNbicDA0tAHSC7BAk3YTJuLamm+/5nJXjKksiAbm8l8Urahu74LhjPF6JJA4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717330460; c=relaxed/simple; bh=miEiGWm2+ntCH5f5SoeSTAVniwWnl4HtGbPoJcC3D88=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qz0yfzNKALeVJRzuWRYxk3zOE/VvFCHvzgyR94XKVPQAMqVjiD8eHTiG4AgAV1sspKBnYSeYUmZJLVu0ThB1MXzBTA8VGnd/UVIbWJm2tKW5lCDYuwlv0dDZgM17ahmwih+bWRh3NyF9Rea+AhO0DSot4soqeADwRiClSqup+2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WOee0fy0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55C38C2BBFC; Sun, 2 Jun 2024 12:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717330459; bh=miEiGWm2+ntCH5f5SoeSTAVniwWnl4HtGbPoJcC3D88=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WOee0fy09cu48BimDTNZOiDduOJ8jitnp3G9/SV+NaPfmx0xNLs0jNxoeCruaEplX JMCYHzxI0UdQZAkrWyKa0sZ2LexUt5hGoNWxcMDge8t77/EfStjr+B24a7eQ7ZUc9c 0x2kvkVGHMc6GM/rNlSSnMhoMNwVvzBD0kZfVpKLm89bBZeUuTCsai5O6bH5JRA8Dw +PxeXfZiT2+fo8WXJP4Y5taNmfL7qj7zShl1Wa+l/hs7lZpG78pvF+NbPEcjoul5zZ 4cXze6QbWK5Na+qZzYUOxZLePgyRdkm6MlaaROjD9lVSfkcYdw5ODYJpSCgOsjcbfA ntVUJt0VEqmmQ== Date: Sun, 2 Jun 2024 13:14:08 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: Arnd Bergmann , Arnd Bergmann , Lars-Peter Clausen , Nuno =?UTF-8?B?U8Oh?= , Dragos Bogdan , Anshul Dalal , Andrea Collamati , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: dac: ad9739a: drop COMPILE_TEST option Message-ID: <20240602131408.08fb15d8@jic23-huawei> In-Reply-To: <73d7ba0e54a93696aa2c8cab3e6599038bddf533.camel@gmail.com> References: <20240528121304.3695252-1-arnd@kernel.org> <539a815398a3c991c1bc1a53967fbcba282dfe3b.camel@gmail.com> <81ec1d1a-d8de-47e4-a5d4-eeaaf1e806a2@app.fastmail.com> <73d7ba0e54a93696aa2c8cab3e6599038bddf533.camel@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 29 May 2024 10:09:28 +0200 Nuno S=C3=A1 wrote: > On Wed, 2024-05-29 at 09:23 +0200, Arnd Bergmann wrote: > > On Wed, May 29, 2024, at 09:20, Nuno S=C3=A1 wrote: =20 > > > On Tue, 2024-05-28 at 14:12 +0200, Arnd Bergmann wrote: =20 > > > > From: Arnd Bergmann > > > >=20 > > > > Build testing without SPI results in a warning: > > > >=20 > > > > WARNING: unmet direct dependencies detected for REGMAP_SPI > > > > =C2=A0 Depends on [n]: SPI [=3Dn] > > > > =C2=A0 Selected by [m]: > > > > =C2=A0 - AD9739A [=3Dm] && IIO [=3Dm] && (SPI [=3Dn] || COMPILE_TES= T [=3Dy]) > > > >=20 > > > > There is no need for this particular COMPILE_TEST option, as allmod= config > > > > and randconfig testing can just assume that SPI is enabled separate= ly. > > > >=20 > > > > Drop it to avoid the warning. > > > >=20 > > > > Signed-off-by: Arnd Bergmann > > > > --- =20 > > >=20 > > > Reviewed-by: Nuno Sa > > >=20 > > > Only for my understanding. When does COMPILE_TEST makes sense to add?= =20 > >=20 > > The most common use is to enable building a driver > > that is platform specific on x86 allmodconfig > > or on randconfig, e.g. > >=20 > > config LPC18XX_DAC > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tristate "NXP LPC18xx DAC dr= iver" > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 depends on ARCH_LPC18XX || C= OMPILE_TEST > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 depends on HAS_IOMEM > >=20 > > Since ARCH_LPC18XX is only visible on arch/arm, the > > driver would never be build tested on anything else > > without the ||COMPILE_TEST. =20 >=20 > Makes sense... Thanks! >=20 > - Nuno S=C3=A1 >=20 Applied. Thanks