[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] db4df2: trace: Fix 'char **' compilation erro

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] db4df2: trace: Fix 'char **' compilation error in simple b...
Date: Fri, 28 Oct 2016 02:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: db4df20de86c6e8ecd6c9f042c029ffb9f9cddac
  Author: Fam Zheng <address@hidden>
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
    M scripts/tracetool/backend/simple.py

  Log Message:
  trace: Fix 'char **' compilation error in simple backend

Currently, the generated function body will do "strlen(arg)" but the
argument could be 'char **' or 'char * const *'. Avoid that by excluding
such cases in is_string check.

Reported by patchew's "make address@hidden".

Suggested-by: Eric Blake <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]