From: Mark Brown <broonie@kernel.org>
To: Jean Delvare <jdelvare@suse.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH] ASoC: rsnd: Drop obsolete dependency on COMPILE_TEST
Date: Mon, 28 Nov 2022 17:56:37 +0000 [thread overview]
Message-ID: <Y4T2VbsknZOgb1rP@sirena.org.uk> (raw)
In-Reply-To: <20221128145612.74ff3d25@endymion.delvare>
[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]
On Mon, Nov 28, 2022 at 02:56:12PM +0100, Jean Delvare wrote:
> On Mon, 28 Nov 2022 12:33:35 +0000, Mark Brown wrote:
> > On Sun, Nov 27, 2022 at 07:34:41PM +0100, Jean Delvare wrote:
> > > It is actually better to always build such drivers with OF enabled,
> > > so that the test builds are closer to how each driver will actually be
> > > built on its intended target. Building them without OF may not test
> > > much as the compiler will optimize out potentially large parts of the
> > > code. In the worst case, this could even pop false positive warnings.
> > > Dropping COMPILE_TEST here improves the quality of our testing and
> > > avoids wasting time on non-existent issues.
> > As ever building without OF does not preclude building with OF.
> I'm sorry, I'm not sure I understand what point you are trying to make
> here.
You're overselling what the change does here in a way that's getting a
bit silly. It's just cutting down the amount of stuff the randconfig
people do, that's all. It's not particularly bad to compile without the
DT support, I suppose you could argue that it's preserving our ability
to work with other firmware interfaces although that's a bit of a push
(but then a lot of the stuff generated by randconfig is in a similar
ballpark of course). The whole point with COMPILE_TEST is that it's
enabling unrealistic things that probably aren't practically useful.
> That's true, but it's a matter of quantity versus quality. Would you
> rather test build the code twice in its crippled form, which may
> trigger false-positive warnings or hide actual warnings, or just once
> in its proper form, where all warnings and build failures are real? I
> definitely believe the latter is a better use of our resources.
I'm not saying don't do the change, I'm saying don't oversell it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-11-28 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-27 18:34 [PATCH] ASoC: rsnd: Drop obsolete dependency on COMPILE_TEST Jean Delvare
2022-11-28 12:33 ` Mark Brown
2022-11-28 13:56 ` Jean Delvare
2022-11-28 17:56 ` Mark Brown [this message]
2022-11-28 16:39 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y4T2VbsknZOgb1rP@sirena.org.uk \
--to=broonie@kernel.org \
--cc=jdelvare@suse.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).