public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/1] openposix/pthread_cancel/3-1: Move sleep loop into separate function
Date: Mon, 2 Aug 2021 19:43:47 +0200	[thread overview]
Message-ID: <YQgu0+DJ5V91sL4P@pevik> (raw)
In-Reply-To: <CAASaF6y+nGtyH_OGdcJAa-UmnKW_6+HE6ZB=kDyWNpHu_c-Nug@mail.gmail.com>

Hi Jan,

> On Mon, Aug 2, 2021 at 6:30 PM Petr Vorel <pvorel@suse.cz> wrote:

> > to fix warning:
> > pthread_cancel/3-1.c:40:13: warning: variable ?waited_for_cancel_ms? might
> > be clobbered by ?longjmp? or ?vfork? [-Wclobbered]
> >    40 |         int waited_for_cancel_ms = 0;

> > Suggested-by: Martin Doucha <mdoucha@suse.cz>
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>


>  Acked-by: Jan Stancek <jstancek@redhat.com>
Thanks a lot, merged!

Kind regards,
Petr

      reply	other threads:[~2021-08-02 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 16:30 [LTP] [PATCH 1/1] openposix/pthread_cancel/3-1: Move sleep loop into separate function Petr Vorel
2021-08-02 16:54 ` Jan Stancek
2021-08-02 17:43   ` 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=YQgu0+DJ5V91sL4P@pevik \
    --to=pvorel@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