mbox series

[0/3] m68k: Fix a couple of Coverity nits

Message ID 20240830173452.2086140-1-peter.maydell@linaro.org
Headers show
Series m68k: Fix a couple of Coverity nits | expand

Message

Peter Maydell Aug. 30, 2024, 5:34 p.m. UTC
This patchset fixes a couple of very minor Coverity issues: one
"shift off top of integer", and one "overflow in multiplication". 
Neither will happen in normal use. I would not bother backporting
either fix to stable.

I threw in also a patch adding a comment to mcf5208.c giving the URLs
of the datasheets, since I had to go find them to check the fix in
patch 1.

thanks
-- PMM

Peter Maydell (3):
  hw/m68k/mcf5208: Avoid shifting off end of integer
  hw/m68k/mcf5208: Add URLs for datasheets
  hw/nubus/nubus-device: Range check 'slot' property

 hw/m68k/mcf5208.c       | 10 +++++++++-
 hw/nubus/nubus-device.c |  7 +++++++
 2 files changed, 16 insertions(+), 1 deletion(-)