aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorGautam Menghani <gautam@linux.ibm.com>2025-08-11 13:19:11 +0530
committerHarsh Prateek Bora <harshpb@linux.ibm.com>2025-09-28 23:46:15 +0530
commit936a0f208833083fc4f4f8aebfe0f63751d2b7d6 (patch)
tree8e8599fb7458105959331cf07d244641fe35a2d2 /scripts/qapi/expr.py
parent6285eebd3a5fea018eb51d696b51079f44dd1eb3 (diff)
downloadqemu-936a0f208833083fc4f4f8aebfe0f63751d2b7d6.zip
qemu-936a0f208833083fc4f4f8aebfe0f63751d2b7d6.tar.gz
qemu-936a0f208833083fc4f4f8aebfe0f63751d2b7d6.tar.bz2
ppc/xive2: Fix integer overflow warning in xive2_redistribute()
Coverity reported an integer overflow warning in xive2_redistribute() where the code does a left shift operation "0xffffffff << crowd". Fix the warning by using a 64 byte integer type. Also refactor the calculation into dedicated routines. Resolves: Coverity CID 1612608 Fixes: 555e446019f5 ("ppc/xive2: Support redistribution of group interrupts") Reviewed-by: Glenn Miles <milesg@linux.ibm.com> Signed-off-by: Gautam Menghani <gautam@linux.ibm.com> Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Link: https://lore.kernel.org/r/20250811074912.162774-1-gautam@linux.ibm.com Message-ID: <20250811074912.162774-1-gautam@linux.ibm.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions