public inbox for [email protected]
 help / color / mirror / Atom feed
From: "Vincenzo Palazzo" <[email protected]>
To: "Vincenzo Palazzo" <[email protected]>,
	<[email protected]>
Cc: <[email protected]>
Subject: Re: [PATCH v1] io_uring: suppress an unused warning
Date: Thu, 09 Mar 2023 14:00:26 +0100	[thread overview]
Message-ID: <CR1VDVQPMRQ7.3GGCJ11TF4621@vincent-arch> (raw)
In-Reply-To: <[email protected]>

On Thu Mar 9, 2023 at 1:47 PM CET, Vincenzo Palazzo wrote:
> suppress unused warnings and fix the error that there is
> with the W=1 enabled.
>
> Warning generated
>
> io_uring/io_uring.c: In function ‘__io_submit_flush_completions’:
> io_uring/io_uring.c:1502:40: error: variable ‘prev’ set but not used [-Werror=unused-but-set-variable]
>  1502 |         struct io_wq_work_node *node, *prev;
>
> Signed-off-by: Vincenzo Palazzo <[email protected]>
Please ignore this patch I just send the wrong v1.

I fixed the mistake in the v2

Cheers!

Vincent.


      reply	other threads:[~2023-03-09 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 12:47 [PATCH v1] io_uring: suppress an unused warning Vincenzo Palazzo
2023-03-09 13:00 ` Vincenzo Palazzo [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=CR1VDVQPMRQ7.3GGCJ11TF4621@vincent-arch \
    [email protected] \
    [email protected] \
    [email protected] \
    /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