summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-01-16 16:11:50 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-02-05 18:09:45 +0100
commit6c549dc14113a8a389ef6cf8c9078df66e208ebd (patch)
tree592547782a8a8931be940c591a750477c0dea831 /scripts/qapi-commands.py
parent3e32370a96d2ad82839d97e7e622bca793de8af5 (diff)
downloadfocaccia-qemu-6c549dc14113a8a389ef6cf8c9078df66e208ebd.tar.gz
focaccia-qemu-6c549dc14113a8a389ef6cf8c9078df66e208ebd.zip
exynos4210: workaround UBSAN compilation error
gcc 5.4.0-6ubuntu1~16.04.5 build with UBSAN enabled error:

  CC      hw/display/exynos4210_fimd.o
/home/petmay01/linaro/qemu-for-merges/hw/display/exynos4210_fimd.c: In
function ‘fimd_get_buffer_id’:
/home/petmay01/linaro/qemu-for-merges/hw/display/exynos4210_fimd.c:1105:5:
error: case label does not reduce to an integer constant
     case FIMD_WINCON_BUF2_STAT:

Because FIMD_WINCON_BUF2_STAT case contains an integer
overflow, use U suffix to get the unsigned type.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180116151152.4040-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions