All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: Konstantin Khorenko <khorenko@virtuozzo.com>, devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1] configs: build with WERROR and KVM_WERROR, as RHEL does
Date: Tue, 27 Oct 2026 13:54:19 +0000	[thread overview]
Message-ID: <010701a17da3f4bc-28bb73ce-794b-42a6-9323-48639d9251e8-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261027-b4-prep-khorenko-vstor-151903-werror-v1-1-00b3a34049dd@virtuozzo.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] configs: commit message cites a nonexistent UML config exemption for WERROR
--

commit e34168fc988cd9c5d2c187255bd4bad60ab0fb1d
Author: Konstantin Khorenko <khorenko@virtuozzo.com>

configs: build with WERROR and KVM_WERROR, as RHEL does

This commit adds CONFIG_WERROR=y and CONFIG_KVM_WERROR=y to
redhat/configs/custom-overrides/generic so that the vz kernel builds with
-Werror, as RHEL does. The commit message says the UML config
kernel-um-rhel.config is kept with CONFIG_WERROR unset.

Link: https://virtuozzo.atlassian.net/browse/VSTOR-151903

> diff --git a/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR b/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR
> new file mode 100644
> index 0000000000000..af20cbee74354
> --- /dev/null
> +++ b/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR
> @@ -0,0 +1 @@
> +CONFIG_KVM_WERROR=y

[ ... ]

> diff --git a/redhat/configs/custom-overrides/generic/CONFIG_WERROR b/redhat/configs/custom-overrides/generic/CONFIG_WERROR
> new file mode 100644
> index 0000000000000..f54ff6cdaab85
> --- /dev/null
> +++ b/redhat/configs/custom-overrides/generic/CONFIG_WERROR
> @@ -0,0 +1 @@
> +CONFIG_WERROR=y

[Severity: Low]
The commit message says "UML kernel build produces warnings, so we keep
kernel-um-rhel.config with CONFIG_WERROR unset."  Is this exemption
actually implemented anywhere in this tree?

A search for kernel-um-rhel.config, kernel-um and um-rhel finds no matches.
The only UML-related files are tools/testing/kunit/configs/arch_uml.config,
coverage_uml.config and the wireguard selftest um.config, and none of them
come from the redhat/configs layers.

redhat/configs/priority.rhel sets:

    ORDER=common rhel pending-rhel custom-overrides

so custom-overrides is merged last into every listed flavor, and the new
custom-overrides/generic/CONFIG_WERROR (=y) overrides
common/generic/CONFIG_WERROR (# CONFIG_WERROR is not set) in every generated
config.  priority.rhel lists only x86_64, ppc64le, s390x (including
zfcpdump), aarch64 and riscv64 flavors, so there is no UML flavor that could
be exempted.

If kernel-um-rhel.config is a standalone file in a separate vz build
repository, the build is unaffected and only the commit message cannot be
verified from this tree.  If it is derived from these layers, would
CONFIG_WERROR=y reach it and break the UML build on its known warnings?

Could the commit message say where kernel-um-rhel.config lives, or could the
exemption be made explicit in this tree?

Also, since both overrides sit in custom-overrides/generic, they apply to
every flavor, including debug, rt, automotive and zfcpdump, and not only the
main ones.  Is that intended?

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261027-b4-prep-khorenko-vstor-151903-werror-v1-1-00b3a34049dd@virtuozzo.com?part=1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  reply	other threads:[~2026-10-27 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 13:49 Konstantin Khorenko
2026-10-27 13:54 ` no-reply [this message]
2026-10-27 15:06   ` Konstantin Khorenko

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=010701a17da3f4bc-28bb73ce-794b-42a6-9323-48639d9251e8-000000@eu-central-1.amazonses.com \
    --to=no-reply@sashiko.virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=khorenko@virtuozzo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.