[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH] s390x: Add missing QEMU_NORETURN attribute (CID 138
From: |
Stefan Weil |
Subject: |
[qemu-s390x] [PATCH] s390x: Add missing QEMU_NORETURN attribute (CID 1383842) |
Date: |
Sun, 17 Dec 2017 11:11:36 +0100 |
This should fix the Coverity warning:
** CID 1383842: Integer handling issues (DIVIDE_BY_ZERO)
/target/s390x/int_helper.c: 84 in helper_divs64()
Signed-off-by: Stefan Weil <address@hidden>
---
target/s390x/cpu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h
index 1a8b6b9ae9..2a6e75d697 100644
--- a/target/s390x/cpu.h
+++ b/target/s390x/cpu.h
@@ -746,8 +746,8 @@ void s390_io_interrupt(uint16_t subchannel_id, uint16_t
subchannel_nr,
/* automatically detect the instruction length */
#define ILEN_AUTO 0xff
#define RA_IGNORED 0
-void s390_program_interrupt(CPUS390XState *env, uint32_t code, int ilen,
- uintptr_t ra);
+void QEMU_NORETURN s390_program_interrupt(CPUS390XState *env, uint32_t code,
+ int ilen, uintptr_t ra);
/* service interrupts are floating therefore we must not pass an cpustate */
void s390_sclp_extint(uint32_t parm);
--
2.11.0
- [qemu-s390x] [PATCH] s390x: Add missing QEMU_NORETURN attribute (CID 1383842),
Stefan Weil <=
Re: [qemu-s390x] [Qemu-devel] [PATCH] s390x: Add missing QEMU_NORETURN attribute (CID 1383842), no-reply, 2017/12/20