Re: [PATCH v2 1/6] host-utils: fix ssub32/64_saturate return type and clamp direction
Michael Tokarev <[email protected]>
| Newsgroups | org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/7/26 19:48, Brian Cain wrote: > > On 8/5/2026 11:32 PM, Brian Cain wrote: >> ssub32_saturate() and ssub64_saturate() were declared to return bool >> instead of int32_t/int64_t, and clamped to the wrong bound on overflow. >> >> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> >> Cc: [email protected] >> Fixes: 16495533131 ("host-utils: Introduce signed saturation primitives") >> Reviewed-by: Pierrick Bouvier <[email protected]> >> Signed-off-by: Brian Cain <[email protected]> >> --- > > Michael, > > I think this patch is a good candidate fix for -stable. Yeah, I noticed the Cc: qemu-stable@ tag in this patch. Thank you! /mjt