public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Richard Palethorpe <rpalethorpe@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] lib/tst_safe_posix_ipc: Use %zu to format size_t
Date: Tue, 14 Feb 2023 11:52:26 +0100	[thread overview]
Message-ID: <Y+tn6kLC3cj+YqVl@yuki> (raw)
In-Reply-To: <20230214095027.9614-1-rpalethorpe@suse.com>

Hi!
This would classify as obviously correct, so you could have just pushed
the patch and then send it as FYI to the list with [COMMITED] in the
subject.

Anyways:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

> ---
>  include/tst_safe_posix_ipc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/tst_safe_posix_ipc.h b/include/tst_safe_posix_ipc.h
> index 2d3d0928f..e7892f2af 100644
> --- a/include/tst_safe_posix_ipc.h
> +++ b/include/tst_safe_posix_ipc.h
> @@ -121,7 +121,7 @@ static inline int safe_mq_send(const char *file, const int lineno,
>  
>  	if (rval == -1) {
>  		tst_brk_(file, lineno, TBROK | TERRNO,
> -			"mq_send(%d,%s,%lu,%d) failed", mqdes, msg_ptr,
> +			"mq_send(%d,%s,%zu,%d) failed", mqdes, msg_ptr,
>  			msg_len, msg_prio);
>  	}
>  
> -- 
> 2.39.1
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz

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

  reply	other threads:[~2023-02-14 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14  9:50 [LTP] [PATCH] lib/tst_safe_posix_ipc: Use %zu to format size_t Richard Palethorpe via ltp
2023-02-14 10:52 ` Cyril Hrubis [this message]
2023-02-14 21:53   ` Petr Vorel

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=Y+tn6kLC3cj+YqVl@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=rpalethorpe@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox