summary refs log tree commit diff stats
path: root/hw/misc/pci-testdev.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-11-22 19:08:02 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-01-05 11:41:29 -0800
commitc6ef8c7b350bdbb24cca9206f5b9aa577e5abafa (patch)
treedb8e77cf2a60012b2df75b306ad9d002e9f60e7e /hw/misc/pci-testdev.c
parent39004a71d8f6b61501e41be21cc874272c78212f (diff)
downloadfocaccia-qemu-c6ef8c7b350bdbb24cca9206f5b9aa577e5abafa.tar.gz
focaccia-qemu-c6ef8c7b350bdbb24cca9206f5b9aa577e5abafa.zip
tcg: Convert typecode_to_ffi from array to function
In the unlikely case of invalid typecode mask, the function
will abort instead of returning a NULL pointer.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221111074101.2069454-27-richard.henderson@linaro.org>
[PMD: Split from bigger patch]
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221122180804.938-2-philmd@linaro.org>
Diffstat (limited to 'hw/misc/pci-testdev.c')
0 files changed, 0 insertions, 0 deletions