The following changes since commit c65057f93d1de62a48f98578e24716128ce77a75: zbd: Fix I/O direction adjustment step for random read/write (2020-04-17 08:32:15 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 173ff874d01466fa19f41998225d173cafd7e3bc: json: don't use named initializers for anonymous unions (2020-04-20 21:20:03 -0600) ---------------------------------------------------------------- Jens Axboe (1): json: don't use named initializers for anonymous unions json.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- Diff of recent changes: diff --git a/json.h b/json.h index 09c2f187..b2bb457e 100644 --- a/json.h +++ b/json.h @@ -57,9 +57,9 @@ static inline int json_object_add_value_int(struct json_object *obj, { struct json_value arg = { .type = JSON_TYPE_INTEGER, - .integer_number = val, }; + arg.integer_number = val; return json_object_add_value_type(obj, name, &arg); } @@ -68,9 +68,9 @@ static inline int json_object_add_value_float(struct json_object *obj, { struct json_value arg = { .type = JSON_TYPE_FLOAT, - .float_number = val, }; + arg.float_number = val; return json_object_add_value_type(obj, name, &arg); } @@ -80,9 +80,9 @@ static inline int json_object_add_value_string(struct json_object *obj, { struct json_value arg = { .type = JSON_TYPE_STRING, - .string = (char *)val, }; + arg.string = (char *)val; return json_object_add_value_type(obj, name, &arg); } @@ -104,9 +104,9 @@ static inline int json_object_add_value_array(struct json_object *obj, { struct json_value arg = { .type = JSON_TYPE_ARRAY, - .array = val, }; + arg.array = val; return json_object_add_value_type(obj, name, &arg); } @@ -118,9 +118,9 @@ static inline int json_array_add_value_int(struct json_array *obj, { struct json_value arg = { .type = JSON_TYPE_INTEGER, - .integer_number = val, }; + arg.integer_number = val; return json_array_add_value_type(obj, &arg); } @@ -129,9 +129,9 @@ static inline int json_array_add_value_float(struct json_array *obj, { struct json_value arg = { .type = JSON_TYPE_FLOAT, - .float_number = val, }; + arg.float_number = val; return json_array_add_value_type(obj, &arg); } @@ -140,9 +140,9 @@ static inline int json_array_add_value_string(struct json_array *obj, { struct json_value arg = { .type = JSON_TYPE_STRING, - .string = (char *)val, }; + arg.string = (char *)val; return json_array_add_value_type(obj, &arg); } @@ -151,9 +151,9 @@ static inline int json_array_add_value_object(struct json_array *obj, { struct json_value arg = { .type = JSON_TYPE_OBJECT, - .object = val, }; + arg.object = val; return json_array_add_value_type(obj, &arg); } @@ -162,9 +162,9 @@ static inline int json_array_add_value_array(struct json_array *obj, { struct json_value arg = { .type = JSON_TYPE_ARRAY, - .array = val, }; + arg.array = val; return json_array_add_value_type(obj, &arg); }