Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Apr 22, 2020

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 173ff874d01466fa19f41998225d173cafd7e3bc:

json: don't use named initializers for anonymous unions (2020-04-20 21:20:03 -0600)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 3966740cd903ed95f306e59892075faf9fd2a151:

Merge branch 'gcc1' of https://github.com/kusumi/fio (2020-04-21 15:44:31 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'gcc1' of https://github.com/kusumi/fio

Tomohiro Kusumi (1):
json: Fix compile error on RHEL6

 json.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

json.h +1 -1
index b2bb457e..1544ed76 100644
@@ -92,9 +92,9 @@ static inline int json_object_add_value_object(struct json_object *obj,
 {
 	struct json_value arg = {
 		.type = JSON_TYPE_OBJECT,
-		.object = val,
 	};
 
+	arg.object = val;
 	return json_object_add_value_type(obj, name, &arg);
 }