aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/isa-bus.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-13 14:22:12 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-12 12:07:05 +0200
commit236d15222e06750d6b889030ed04c849b1dc279e (patch)
tree0b8a17218efae9046c205945c77d96131fd36313 /hw/isa/isa-bus.c
parent43924d1e53fd77c63b6f995556545e12f9fb11b6 (diff)
pc-bios/optionrom: compile with -Wno-array-bounds
Avoids the following bogus warning: pvh_main.c: In function ‘pvh_load_kernel’: pvh_main.c:101:42: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds] 101 | uint32_t ebda_paddr = ((uint32_t)*((uint16_t *)EBDA_BASE_ADDR)) << 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc: qemu-stable@nongnu.org Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/isa/isa-bus.c')
0 files changed, 0 insertions, 0 deletions