Xiaojuan Yang
056dac5384
hw/intc/loongarch_pch_pic: Fix bugs for update_irq function
...
Fix such errors:
1. We should not use 'unsigned long' type as argument when we use
find_first_bit(), and we use ctz64() to replace find_first_bit()
to fix this bug.
2. It is not standard to use '1ULL << irq' to generate a irq mask.
So, we replace it with 'MAKE_64BIT_MASK(irq, 1)'.
Fix coverity CID: 1489761 1489764 1489765
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220715060740.1500628-3-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-07-19 21:53:58 +05:30
..
2022-06-28 11:06:44 +02:00
2022-06-28 11:06:44 +02:00
2022-07-18 13:20:14 +01:00
2022-04-06 14:31:55 +02:00
2022-07-18 13:25:13 +01:00
2022-06-11 11:44:50 +02:00
2022-04-06 14:31:55 +02:00
2022-07-14 16:24:38 +02:00
2022-06-09 19:32:48 -04:00
2022-06-15 14:50:41 +01:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2022-06-16 12:54:57 -04:00
2022-06-30 09:21:14 +02:00
2022-05-19 16:19:03 +01:00
2022-07-14 16:24:38 +02:00
2022-07-18 19:28:46 +01:00
2022-05-30 19:49:42 +02:00
2022-07-14 16:24:38 +02:00
2022-06-29 00:24:59 +02:00
2022-07-12 12:14:56 +02:00
2022-07-18 19:28:46 +01:00
2022-07-19 21:53:58 +05:30
2021-09-30 13:42:10 +01:00
2022-06-09 19:32:49 -04:00
2022-06-29 00:24:59 +02:00
2022-07-05 16:25:17 +05:30
2022-07-13 16:58:58 +02:00
2022-05-13 07:57:26 -04:00
2022-04-06 14:31:55 +02:00
2022-07-18 19:28:46 +01:00
2022-07-14 16:24:38 +02:00
2022-07-06 11:39:09 +08:00
2022-04-26 08:17:05 -07:00
2021-09-30 13:42:10 +01:00
2022-07-15 10:40:33 +02:00
2022-07-12 12:14:56 +02:00
2022-05-15 10:33:01 +09:00
2022-06-30 04:49:40 +05:30
2022-06-16 12:54:57 -04:00
2022-07-06 10:22:38 -03:00
2021-05-02 17:24:50 +02:00
2022-07-18 13:59:43 -03:00
2022-04-26 12:25:14 +02:00
2022-06-15 16:43:42 +01:00
2022-07-03 10:03:20 +10:00
2022-07-05 16:17:53 +05:30
2022-04-21 10:06:42 -07:00
2022-06-14 16:50:30 +02:00
2022-07-13 16:58:58 +02:00
2022-07-12 12:14:56 +02:00
2022-07-14 16:24:38 +02:00
2022-03-21 15:44:44 +01:00
2022-03-06 05:28:55 -05:00
2022-05-12 12:29:44 +02:00
2022-06-11 11:44:50 +02:00
2022-06-30 09:21:13 +02:00
2022-06-08 19:38:47 +01:00
2022-06-09 19:32:49 -04:00
2021-07-20 20:10:21 +02:00
2022-07-01 12:39:51 +02:00
2022-06-14 10:34:37 +02:00
2022-06-27 18:53:18 -04:00
2022-07-06 10:22:38 -03:00
2022-07-05 14:19:48 +01:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00