From: linuxtestproject.agent@gmail.com
To: Petr Vorel <pvorel@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] ioctl_pidfd06: Update kernel version
Date: Fri, 24 Apr 2026 08:09:12 +0000 [thread overview]
Message-ID: <20260424080912.4039-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260424060543.462475-1-pvorel@suse.cz>
Hi Petr,
On 2026-04-24, Petr Vorel wrote:
> ioctl_pidfd06: Update kernel version
> - if (tst_kvercmp(7, 0, 0) >= 0)
> + if (tst_kvercmp(6, 18, 14) >= 0)
> err_nr = EREMOTE;
tst_kvercmp(6, 18, 14) >= 0 is too broad: because tst_kvercmp compares
(major, minor, patch) as ordered integers, it evaluates true for all
v6.19.x, including v6.19.0-v6.19.9 which do not carry the backport
(which landed in v6.19.10). Those kernels would see a false EREMOTE
expectation and TFAIL.
The check needs to handle both stable branches independently, e.g.:
if (tst_kvercmp(7, 0, 0) >= 0 ||
(tst_kvercmp(6, 18, 14) >= 0 && tst_kvercmp(6, 19, 0) < 0) ||
tst_kvercmp(6, 19, 10) >= 0)
err_nr = EREMOTE;
Also, since this corrects a bug (TFAIL on kernels with the backport),
please add a Fixes: tag referencing the commit that introduced the
original tst_kvercmp(7, 0, 0) check.
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/24879016987
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-04-24 8:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-24 6:05 [LTP] [PATCH 1/1] ioctl_pidfd06: Update kernel version Petr Vorel
2026-04-24 6:21 ` Li Wang
2026-04-24 6:31 ` Petr Vorel
2026-04-24 7:07 ` Li Wang
2026-04-24 7:33 ` Jan Stancek via ltp
2026-04-24 8:03 ` Wei Gao via ltp
2026-04-24 9:59 ` Petr Vorel
2026-04-24 8:09 ` linuxtestproject.agent [this message]
2026-04-24 10:01 ` [LTP] " Petr Vorel
2026-04-24 10:02 ` Petr Vorel
-- strict thread matches above, loose matches on Subject: below --
2026-04-24 10:15 [LTP] [PATCH v2 1/1] " Petr Vorel
2026-04-24 10:25 ` [LTP] " linuxtestproject.agent
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=20260424080912.4039-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
--cc=pvorel@suse.cz \
/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