Files
xemu/hw
Gautam MenghaniandHarsh Prateek Bora 936a0f2088 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: 555e446019 ("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>
2025-09-28 23:46:15 +05:30
..
2025-09-18 21:21:29 +02:00
2025-08-29 12:48:14 +02:00
2025-07-15 02:56:39 -04:00
2025-08-27 07:07:53 +02:00
2025-09-02 17:57:05 +02:00
2025-09-17 19:00:58 +02:00
2025-09-02 17:57:05 +02:00