[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 01/12] ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 01/12] ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv_xscom.h> |
Date: |
Mon, 29 Jan 2018 14:28:15 +1100 |
From: Cédric Le Goater <address@hidden>
This redefinition generates warnings on some clang compilers and older
gcc4.4.
...include/hw/ppc/pnv_xscom.h:24:24: warning: redefinition of typedef 'PnvChip'
is a C11
feature [-Wtypedef-redefinition]
typedef struct PnvChip PnvChip;
^
...include/hw/ppc/pnv.h:65:3: note: previous definition is here
} PnvChip;
^
1 warning generated.
CC ppc64-softmmu/hw/ppc/pnv_xscom.o
Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
include/hw/ppc/pnv_xscom.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index fb1bd5df09..255b26a5aa 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -21,8 +21,6 @@
#include "qom/object.h"
-typedef struct PnvChip PnvChip;
-
typedef struct PnvXScomInterface {
Object parent;
} PnvXScomInterface;
--
2.14.3
- [Qemu-ppc] [PULL 00/12] ppc-for-2.12 queue 20180129, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 01/12] ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv_xscom.h>,
David Gibson <=
- [Qemu-ppc] [PULL 02/12] ppc: Deprecate qemu-system-ppcemb, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 08/12] target/ppc/spapr_caps: Add support for tristate spapr_capabilities, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 04/12] uninorth: convert to trace-events, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 05/12] input: add missing newline from trace-events, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 06/12] spapr_pci: fix MSI/MSIX selection, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 12/12] target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 03/12] grackle: convert to trace-events, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 07/12] target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch], David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 09/12] target/ppc/spapr_caps: Add new tristate cap safe_cache, David Gibson, 2018/01/28
- [Qemu-ppc] [PULL 10/12] target/ppc/spapr_caps: Add new tristate cap safe_bounds_check, David Gibson, 2018/01/28