summary refs log tree commit diff stats
path: root/hw/i2c/pmbus_device.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-05-27 12:55:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-07-13 16:58:58 +0200
commitc0b3607d5938f5ee7fd16ff1e102afe938fd4b39 (patch)
tree267946b6b90541427366d66e96abab7db106984a /hw/i2c/pmbus_device.c
parent74518fb615d5bf84d3fea3abf7b3f465d0ffbfe6 (diff)
downloadfocaccia-qemu-c0b3607d5938f5ee7fd16ff1e102afe938fd4b39.tar.gz
focaccia-qemu-c0b3607d5938f5ee7fd16ff1e102afe938fd4b39.zip
pc-bios/s390-ccw: add -Wno-array-bounds
The option generates a lot of warnings for integers casted to pointers,
for example:

/home/pbonzini/work/upstream/qemu/pc-bios/s390-ccw/dasd-ipl.c:174:19: warning: array subscript 0 is outside array bounds of ‘CcwSeekData[0]’ [-Warray-bounds]
  174 |     seekData->cyl = 0x00;
      |     ~~~~~~~~~~~~~~^~~~~~

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i2c/pmbus_device.c')
0 files changed, 0 insertions, 0 deletions