From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] doc: Convert tst_kvercmp.h to RST
Date: Wed, 15 Oct 2025 15:47:02 +0200 [thread overview]
Message-ID: <20251015134702.GA220875@pevik> (raw)
In-Reply-To: <aO99sW4_5_ntsHNr@yuki.lan>
> Hi!
> > Could you please check my English.
> > @Cyril you're the author of the functions, please check my description.
Cyril, thanks a lot for a patient review and your points.
> Will do, btw some of the functions there are actually older than my
> involvement in LTP...
Lol :)
...
> > +/**
> > + * struct tst_kern_exv - describe vendor kernel.
> > + *
> > + * @dist_name: A distribution name, e.g. "SLES", "RHEL9", "UBUNTU"
> > + * @extra_ver: A vendor kernel version to check, e.g. "5.14.0-441".
> > + */
> > struct tst_kern_exv {
> > char *dist_name;
> > char *extra_ver;
> > };
> > +/**
> > + * tst_kvercmp2() - Compare given *distro* kernel version with the currently running kernel.
> > + *
> > + * @r1: Major kernel version.
> > + * @r2: Minor kernel version.
> > + * @r3: Kernel patch level.
> > + * @vers: struct tst_kern_exv.
> ^
> The array has to be NULL dist_name terminated.
I don't understand "NULL dist_name". You mean array of NULL: { NULL, NULL}
Maybe say:
A NULL terminated array of struct tst_kern_exv.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2025-10-15 13:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-14 14:50 [LTP] [PATCH 1/2] doc: Convert tst_kvercmp.h to RST Petr Vorel
2025-10-14 14:50 ` [LTP] [PATCH 2/2] doc: Convert Shell API doc " Petr Vorel
2025-12-18 12:00 ` Andrea Cervesato via ltp
2026-01-05 14:20 ` Petr Vorel
2025-10-15 10:55 ` [LTP] [PATCH 1/2] doc: Convert tst_kvercmp.h " Cyril Hrubis
2025-10-15 13:47 ` Petr Vorel [this message]
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=20251015134702.GA220875@pevik \
--to=pvorel@suse.cz \
--cc=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/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