From: Petr Vorel <pvorel@suse.cz>
To: Ma Xinjian <maxj.fnst@fujitsu.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] kcmp: Convert docs to docparse
Date: Wed, 13 Nov 2024 00:06:49 +0100 [thread overview]
Message-ID: <20241112230649.GA264085@pevik> (raw)
In-Reply-To: <20240827061106.350609-1-maxj.fnst@fujitsu.com>
Hi Ma Xinjian,
...
> diff --git a/testcases/kernel/syscalls/kcmp/kcmp02.c b/testcases/kernel/syscalls/kcmp/kcmp02.c
> +/*\
> + * [Description]
> + *
> + * Verify that, kcmp() returns -1 and sets errno to
> + *
> + * 1. ESRCH if pid does not exist
> + * 2. EINVAL if type is invalid (it's not in man page)
> + * 3. EINVAL if type is invalid (it's a negative number, -1)
> + * 4. EINVAL if type is invalid (it's a negative number, the smallest integer)
> + * 5. EINVAL if type is invalid (it's too high, the largest integer)
> + * 6. EBADF if fd is invalid
I slightly changed this and merged.
IMHO it's better to use "file descriptor" then just fd (although it's obvious,
let's be more formal). OTOH we can use commonly used constants (INT_MAX, ...)
instead of "the largest integer").
Thanks!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-11-12 23:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 6:11 [LTP] [PATCH v2] kcmp: Convert docs to docparse Ma Xinjian via ltp
2024-11-12 23:06 ` 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=20241112230649.GA264085@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=maxj.fnst@fujitsu.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.