lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 27 Jan 2020 05:52:15 -0800
From:   Stephen Hemminger <>
To:     Ron Diskin <>
Cc:     David Ahern <>, Jiri Pirko <>,
        Moshe Shemesh <>,
Subject: Re: [PATCH iproute2 1/6] json_print: Introduce

On Thu, 23 Jan 2020 12:32:26 +0200
Ron Diskin <> wrote:

> Until now print_#type functions supported printing constant names and
> unknown (variable) values only.
> Add functions to allow printing when the name is also sent to the
> function as a variable.
> Signed-off-by: Ron Diskin <>
> Reviewed-by: Moshe Shemesh <>
> Reviewed-by: Jiri Pirko <>

Series applied.
I fixed one style complaint from checkpatch by removing semi-colon
in macro.

WARNING: macros should not use a trailing semicolon
#80: FILE: include/json_print.h:75:
+#define _PRINT_NAME_VALUE_FUNC(type_name, type, format_char)		  \
+	void print_##type_name##_name_value(const char *name, type value); \

Powered by blists - more mailing lists