All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xose Vazquez Perez <xose.vazquez@gmail.com>
To: mwilck@suse.com,
	Christophe Varoqui <christophe.varoqui@opensvc.com>,
	Benjamin Marzinski <bmarzins@redhat.com>
Cc: dm-devel@redhat.com
Subject: Re: [dm-devel] [PATCH] libmultipath: fix format warning with clang
Date: Fri, 18 Dec 2020 23:43:41 +0100	[thread overview]
Message-ID: <bdf66e35-6d85-bb42-6b3e-2db2bbaf6053@gmail.com> (raw)
In-Reply-To: <20201218223753.24451-1-mwilck@suse.com>

On 12/18/20 11:37 PM, mwilck@suse.com wrote:
> From: Martin Wilck <mwilck@suse.com>
> 
> Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>

Tested-by: Xose Vazquez Perez <xose.vazquez@gmail.com>

> ---
>   libmultipath/log.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/libmultipath/log.c b/libmultipath/log.c
> index 6498c88..10fa32c 100644
> --- a/libmultipath/log.c
> +++ b/libmultipath/log.c
> @@ -125,6 +125,7 @@ void log_reset (char *program_name)
>   	pthread_cleanup_pop(1);
>   }
>   
> +__attribute__((format(printf, 2, 0)))
>   static int _log_enqueue(int prio, const char * fmt, va_list ap)
>   {
>   	int len, fwd;
> 

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


  reply	other threads:[~2020-12-18 22:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 22:37 [dm-devel] [PATCH] libmultipath: fix format warning with clang mwilck
2020-12-18 22:43 ` Xose Vazquez Perez [this message]
2020-12-18 23:20 ` Benjamin Marzinski

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=bdf66e35-6d85-bb42-6b3e-2db2bbaf6053@gmail.com \
    --to=xose.vazquez@gmail.com \
    --cc=bmarzins@redhat.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.com \
    --cc=mwilck@suse.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.