aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/schema.py
diff options
context:
space:
mode:
authorHarsh Prateek Bora <harshpb@linux.ibm.com>2024-03-29 10:04:36 +0530
committerNicholas Piggin <npiggin@gmail.com>2024-03-30 18:31:38 +1000
commit58cb91b34d9b1e87353c4a21ff39062dd8b25dd5 (patch)
treef1ceb019d059ad58e3c7590bec356a435de8f45f /scripts/qapi/schema.py
parent5012e522aca161be5c141596c66e5cc6082538a9 (diff)
downloadqemu-58cb91b34d9b1e87353c4a21ff39062dd8b25dd5.zip
qemu-58cb91b34d9b1e87353c4a21ff39062dd8b25dd5.tar.gz
qemu-58cb91b34d9b1e87353c4a21ff39062dd8b25dd5.tar.bz2
spapr: nested: use bitwise NOT operator for flags check
Check for flag bit in H_GUEST_GETSET_STATE_FLAG_GUEST_WIDE need to use bitwise NOT operator to ensure no other flag bits are set. Resolves: Coverity CID 1540008 Resolves: Coverity CID 1540009 Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off by: Harsh Prateek Bora <harshpb@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'scripts/qapi/schema.py')
0 files changed, 0 insertions, 0 deletions