diff mbox series

[XEN,2/8] Config.mk: Remove stray comment

Message ID 20191212182740.2190199-3-anthony.perard@citrix.com (mailing list archive)
State Superseded
Headers show
Series xen: Kconfig update with few extra | expand

Commit Message

Anthony PERARD Dec. 12, 2019, 6:27 p.m. UTC
This comment isn't about CONFIG_TESTS, but about SEABIOS_DIR that has
been removed.

Originally, the comment was added by 5f82d0858de1 ("tools: support
SeaBIOS. Use by default when upstream qemu is configured."), then
later the SEABIOS_DIR was removed by 14ee3c05f3ef ("Clone and build
Seabios by default") but that comment about the pain was left behind.
The commit that made CONFIG_TESTS painful was 85896a7c4dc7 ("build:
add autoconf to replace custom checks in tools/check").

Let the comment rest, event if CONFIG_TESTS=y can be painful. It's
enabled by default anyway and doesn't cause pain for most
configuration.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 Config.mk | 3 ---
 1 file changed, 3 deletions(-)

Comments

Andrew Cooper Dec. 12, 2019, 6:32 p.m. UTC | #1
On 12/12/2019 18:27, Anthony PERARD wrote:
> This comment isn't about CONFIG_TESTS, but about SEABIOS_DIR that has
> been removed.
>
> Originally, the comment was added by 5f82d0858de1 ("tools: support
> SeaBIOS. Use by default when upstream qemu is configured."), then
> later the SEABIOS_DIR was removed by 14ee3c05f3ef ("Clone and build
> Seabios by default") but that comment about the pain was left behind.
> The commit that made CONFIG_TESTS painful was 85896a7c4dc7 ("build:
> add autoconf to replace custom checks in tools/check").
>
> Let the comment rest, event if CONFIG_TESTS=y can be painful. It's
> enabled by default anyway and doesn't cause pain for most
> configuration.

Do you mean "rest, even if"?  Even if so, I'm afraid I still can't parse
this paragraph.

The change itself looks fine and reasonable.

~Andrew
Anthony PERARD Dec. 13, 2019, 3:16 p.m. UTC | #2
On Thu, Dec 12, 2019 at 06:32:27PM +0000, Andrew Cooper wrote:
> On 12/12/2019 18:27, Anthony PERARD wrote:
> > This comment isn't about CONFIG_TESTS, but about SEABIOS_DIR that has
> > been removed.
> >
> > Originally, the comment was added by 5f82d0858de1 ("tools: support
> > SeaBIOS. Use by default when upstream qemu is configured."), then
> > later the SEABIOS_DIR was removed by 14ee3c05f3ef ("Clone and build
> > Seabios by default") but that comment about the pain was left behind.
> > The commit that made CONFIG_TESTS painful was 85896a7c4dc7 ("build:
> > add autoconf to replace custom checks in tools/check").
> >
> > Let the comment rest, event if CONFIG_TESTS=y can be painful. It's
> > enabled by default anyway and doesn't cause pain for most
> > configuration.
> 
> Do you mean "rest, even if"?  Even if so, I'm afraid I still can't parse
> this paragraph.

That last paragraph could be remove I think. It is mostly prose which
doesn't add much information. Some people may understand the reference.

When writing that last paragraph, I had that in mind:
https://lists.xenproject.org/archives/html/xen-devel/2019-11/msg01410.html

I though that was amusing, the way the comment was left behind and
started to be understood as a comment for something else.

:-)
diff mbox series

Patch

diff --git a/Config.mk b/Config.mk
index 8768398d5ece..35d66e5e121a 100644
--- a/Config.mk
+++ b/Config.mk
@@ -289,7 +289,4 @@  QEMU_TRADITIONAL_LOC ?= $(call or,$(wildcard $(QEMU_TRADITIONAL_INTREE)),\
 QEMU_UPSTREAM_LOC ?= $(call or,$(wildcard $(QEMU_UPSTREAM_INTREE)),\
                                $(QEMU_UPSTREAM_URL))
 
-# Short answer -- do not enable this unless you know what you are
-# doing and are prepared for some pain.
-
 CONFIG_TESTS       ?= y