public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Richard Palethorpe <rpalethorpe@suse.de>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] getitimer02: add ITIMER_VIRTUAL timer error check
Date: Thu, 20 Oct 2022 09:11:26 +0100	[thread overview]
Message-ID: <87a65qx6bu.fsf@suse.de> (raw)
In-Reply-To: <20221009065520.3236525-1-liwang@redhat.com>

Hello,

Merged, thanks!

Li Wang <liwang@redhat.com> writes:

> Signed-off-by: Li Wang <liwang@redhat.com>
> ---
>  testcases/kernel/syscalls/getitimer/getitimer02.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/getitimer/getitimer02.c b/testcases/kernel/syscalls/getitimer/getitimer02.c
> index 863e8e0a8..cd98dcce8 100644
> --- a/testcases/kernel/syscalls/getitimer/getitimer02.c
> +++ b/testcases/kernel/syscalls/getitimer/getitimer02.c
> @@ -27,8 +27,9 @@ static struct tcase {
>         struct itimerval **val;
>         int exp_errno;
>  } tcases[] = {
> -       {ITIMER_REAL, &invalid, EFAULT},
> -       {-ITIMER_PROF, &value, EINVAL},
> +       {ITIMER_REAL,    &invalid, EFAULT},
> +       {ITIMER_VIRTUAL, &invalid, EFAULT},
> +       {-ITIMER_PROF,   &value,   EINVAL},
>  };
>  
>  static int sys_getitimer(int which, void *curr_value)
> -- 
> 2.35.3


-- 
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      parent reply	other threads:[~2022-10-20  8:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-09  6:55 [LTP] [PATCH 1/2] getitimer02: add ITIMER_VIRTUAL timer error check Li Wang
2022-10-09  6:55 ` [LTP] [PATCH 2/2] setitimer03: convert to new API Li Wang
2022-10-20  8:17   ` Richard Palethorpe
2022-10-20  9:30     ` Li Wang
2022-10-20  9:45       ` Li Wang
2022-10-20 10:31         ` Richard Palethorpe
2022-10-20 11:28           ` Li Wang
2022-10-20  8:11 ` Richard Palethorpe [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=87a65qx6bu.fsf@suse.de \
    --to=rpalethorpe@suse.de \
    --cc=liwang@redhat.com \
    --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