diff options
author | Fam Zheng <famz@redhat.com> | 2016-10-26 11:50:06 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-27 19:24:15 +0100 |
commit | db4df20de86c6e8ecd6c9f042c029ffb9f9cddac (patch) | |
tree | d29b9a49b1fbbb98167e7539519ab382f3f7136b /pc-bios/optionrom | |
parent | 835f3d24b42fcbeca5c49048994a4e5d0fe905c5 (diff) |
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 docker-test-mingw@fedora".
Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1477453806-21097-1-git-send-email-famz@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'pc-bios/optionrom')
0 files changed, 0 insertions, 0 deletions