On Tue, Jul 21, 2015 at 06:40:16PM -0500, Michael Roth wrote:
> Current code for generating DRC type mask generates the following warning with
> clang -fsanitizer=undefined -fsanitizer=shift:
>
> runtime error: left shift of negative value -1
>
> Fix this by calculating the mask like a sane per
Current code for generating DRC type mask generates the following warning with
clang -fsanitizer=undefined -fsanitizer=shift:
runtime error: left shift of negative value -1
Fix this by calculating the mask like a sane person would.
Signed-off-by: Michael Roth
---
hw/ppc/spapr_drc.c | 2 +-
1