]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/i2c: pmbus: fix error returns and guard against out of range accesses
authorTitus Rwantare <titusr@google.com>
Mon, 7 Mar 2022 20:05:58 +0000 (12:05 -0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 8 Mar 2022 17:46:48 +0000 (18:46 +0100)
commit38870253f1d17f872f4d2a9c6d8e2989ec3706a9
tree7ddf07594dd3b7c70c705d40e1fe7119911abe5e
parent32480293db49e98c8dc891764caf726e4aa4d2a6
hw/i2c: pmbus: fix error returns and guard against out of range accesses

Signed-off-by: Titus Rwantare <titusr@google.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <20220307200605.4001451-3-titusr@google.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/i2c/pmbus_device.c
include/hw/i2c/pmbus_device.h