Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp520424lqb; Wed, 29 May 2024 02:55:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX0xzTCoOUKPbqZWjJikvhSgXrwYHsYY6yR4X/kAF6qKBcqOU6fYrbiecJOTWSElSbV7yK2qb8jmT0Q6XIg+q4ikD5IDnvgv/o5ID8GcQ== X-Google-Smtp-Source: AGHT+IHvQT+3/Ap38w2fnLG6xi3pGrBZ3tgA5Mrc4bsY1xxkD8vI6IpISjtTm6HGlSkPK4jXr3/H X-Received: by 2002:a05:6808:144:b0:3c5:eed2:e244 with SMTP id 5614622812f47-3d1a5f2260cmr17906724b6e.30.1716976553023; Wed, 29 May 2024 02:55:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716976552; cv=pass; d=google.com; s=arc-20160816; b=E0dMk0ln2IdF72JyK6d1URxlUJKW/9zT+sOsCs2swjJ/lYhCuWneNvRxbkMiejde3z oS+e53iYidIfG3qCDyjv4gKX5k4I5QStbi3sNYLp1bGkFc40bbsDFF1ASH9YUlXKQFZj Tu/iMzVDUIS8j1L8PYafH3q3uUo4wOd70MKUE3/kcj5YF3Ka1QxYsPdIyZ8kgdEasBsQ hnJytumU23/EcSHXsglEelA6aNeY/UBa6Ruig3GHsVYrncYXIVwvvh0//WlRgKU+nDOF S7YNwS5td3bdsN1oWrSETOXivkioJzGi/JqWwmL9HSJIlOhgTY4ANkLgm/RpxRe+OIPz jKYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=Gf0qo7ee/AEBpbdOcGj06T/gtZe+ynU8fDYYUQNiucM=; fh=N3UelJrRIDJLyeSzzASJVtnkt54yeZsw9bAesA526Yk=; b=ES9IEWybfHc1XxQAdVRFDvVkZhEbakhJYWyGyU9WX/DSNN7ZKnThob65PKqO6lIEXk O2IaQ84epOYh8O8xVooiWBksEl0v/aud4KkQY3nTq/o43OiY/JahauOzygBfMCkP+iuk 6PJV61k65qIjEoKBh+gzbQcTxOO0cv0XlTh1n2vpPp/qurefx9suR5qXRX7HzSBTHu9i sOaCwZW/dBmrisDWkpcdEBlDgr7bmBAvvOfdSdKRC3yB+Ywa6MIYfO82EBnrfD07dCuX RAnclxJpN6PVmTqbo9d1tHZB2MsSk5+0Kt7qe0ZCHbc01TWpP33574Pyz8T2igZsjdsF m6kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=h4x4CSEt; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RUzHnTTF; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-193574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae57d5esi9841398a12.803.2024.05.29.02.55.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:55:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=h4x4CSEt; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RUzHnTTF; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-193574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9570D287A71 for ; Wed, 29 May 2024 07:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF691167273; Wed, 29 May 2024 07:24:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="h4x4CSEt"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="RUzHnTTF" Received: from fout4-smtp.messagingengine.com (fout4-smtp.messagingengine.com [103.168.172.147]) (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 35F482209D; Wed, 29 May 2024 07:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716967451; cv=none; b=iVp1ELe8rTYyPoytBLyp60DsUTwJdBlWeKy5GURkKvDDHSyuptlJNeSCUNJUHbaj5kPZ2/iFGwJFs1gANk6tCQZOAcHNTsTmY0Cj/QZin0rZFgyBZRMcM0mfNwECuiUAXnGALtj8zvpL2kh4c5CDb675QrxcgLrOUOZYgTuc+iU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716967451; c=relaxed/simple; bh=BiLRi+Tm9dHBabsoQiYKbpEETDYvhOr2pvI35tWBrHI=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=Tn+uZ45PeTFpstoQHp8fueEpdW7dg1xEFdTrtMe4fxSuDEYDvYINl5AyET4kyTCStKk7jQEry2feIDwscFY/pV83KbCIZ16pkemHudk9fwkc5LnG+UygtaojMkfnw86Olhgx1ANNsnxbCjgDLF26Fxdp7vOsuhGTzbz6NtjGTbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=h4x4CSEt; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=RUzHnTTF; arc=none smtp.client-ip=103.168.172.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id 4CDF413800A9; Wed, 29 May 2024 03:24:09 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Wed, 29 May 2024 03:24:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1716967449; x=1717053849; bh=Gf0qo7ee/AEBpbdOcGj06T/gtZe+ynU8fDYYUQNiucM=; b= h4x4CSEtTHwuht1dS/NJgvp65UnTU41dpZW4e9sLOU8xqutZITW+d+RxXo76OzuD ChMjh0GFEzyVlosguBditusdEipRU71hIsyXVbYmbR5niPhsdD7QRRm8Po1tlQFJ ErZkhR4dY/uWkL2ONPkARrIeRdhTO9FCSA6jXog8sby4JvuPNVcTKZ9Yelxdlzgv Vd+HZYCj0bSF/I6NiZZd0yIYZgl/yAdY5+lhH24UDDwqsw38hfrXt2bi4EAZttSJ IcfJAJ08vi4FObI4fjbV/wlfiJ4GFN7U+NY2x7ZDdVMZSfI6k9Y/OvQ6wi0IWnjF mX55VNS3jPEHpQ3HaDZBqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716967449; x= 1717053849; bh=Gf0qo7ee/AEBpbdOcGj06T/gtZe+ynU8fDYYUQNiucM=; b=R UzHnTTFdk3oWiRf9YxJEMrpM7NmWEpEQorOLXKOP1+MH0EFg0AuZDM0INP2I+YIi kexZXQfu7rXWFpV8hclGsy+CKG/aelT8BYNhCzwfHM1U3qsdDQPIJIciUtt+nMMx 4wDKDoiGZXrnGyDGauzW8JY87iqccW5jGVOz4n3D8NFg0pnCUkY2UqL449iAobdk Zw1sfgqDnkczVnrA3UHPcLwfFz7lsm07e13nH+64Hg8tvXZe7i5tF8OpRjK5M0ME RJAtNvB5rezU8QOnUCSw7F3q8SnXp94tH+NKlB1tU7lzLbX3rybW6OxinYszTv4M 0SRvUcfW/ZIr+TLsMW9cw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdektddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D889BB6008D; Wed, 29 May 2024 03:24:08 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-491-g033e30d24-fm-20240520.001-g033e30d2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <81ec1d1a-d8de-47e4-a5d4-eeaaf1e806a2@app.fastmail.com> In-Reply-To: <539a815398a3c991c1bc1a53967fbcba282dfe3b.camel@gmail.com> References: <20240528121304.3695252-1-arnd@kernel.org> <539a815398a3c991c1bc1a53967fbcba282dfe3b.camel@gmail.com> Date: Wed, 29 May 2024 09:23:11 +0200 From: "Arnd Bergmann" To: =?UTF-8?Q?Nuno_S=C3=A1?= , "Arnd Bergmann" , "Jonathan Cameron" Cc: "Lars-Peter Clausen" , =?UTF-8?Q?Nuno_S=C3=A1?= , "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 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024, at 09:20, Nuno S=C3=A1 wrote: > On Tue, 2024-05-28 at 14:12 +0200, Arnd Bergmann wrote: >> 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_TEST = [=3Dy]) >>=20 >> There is no need for this particular COMPILE_TEST option, as allmodco= nfig >> and randconfig testing can just assume that SPI is enabled separately. >>=20 >> Drop it to avoid the warning. >>=20 >> Signed-off-by: Arnd Bergmann >> --- > > Reviewed-by: Nuno Sa > > Only for my understanding. When does COMPILE_TEST makes sense to add? The most common use is to enable building a driver that is platform specific on x86 allmodconfig or on randconfig, e.g. config LPC18XX_DAC tristate "NXP LPC18xx DAC driver" depends on ARCH_LPC18XX || COMPILE_TEST depends on HAS_IOMEM Since ARCH_LPC18XX is only visible on arch/arm, the driver would never be build tested on anything else without the ||COMPILE_TEST. Arnd