* [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name
@ 2015-04-10 14:37 Andreas Färber
2015-04-10 14:47 ` Alistair Francis
2015-04-13 10:36 ` Peter Maydell
0 siblings, 2 replies; 4+ messages in thread
From: Andreas Färber @ 2015-04-10 14:37 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell, Andreas Färber, Alistair Francis
The type name for the SoC device, unlike those of its sub-devices,
did not follow the QOM naming conventions. While the usage is internal
only, this is exposed through QMP and HMP, so fix it before release.
Cc: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
include/hw/arm/stm32f205_soc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/hw/arm/stm32f205_soc.h b/include/hw/arm/stm32f205_soc.h
index 3cda170..0390eff 100644
--- a/include/hw/arm/stm32f205_soc.h
+++ b/include/hw/arm/stm32f205_soc.h
@@ -29,7 +29,7 @@
#include "hw/timer/stm32f2xx_timer.h"
#include "hw/char/stm32f2xx_usart.h"
-#define TYPE_STM32F205_SOC "stm32f205_soc"
+#define TYPE_STM32F205_SOC "stm32f205-soc"
#define STM32F205_SOC(obj) \
OBJECT_CHECK(STM32F205State, (obj), TYPE_STM32F205_SOC)
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name
2015-04-10 14:37 [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name Andreas Färber
@ 2015-04-10 14:47 ` Alistair Francis
2015-04-10 14:51 ` Andreas Färber
2015-04-13 10:36 ` Peter Maydell
1 sibling, 1 reply; 4+ messages in thread
From: Alistair Francis @ 2015-04-10 14:47 UTC (permalink / raw)
To: Andreas Färber
Cc: Peter Maydell, qemu-devel@nongnu.org Developers, Alistair Francis
On Sat, Apr 11, 2015 at 12:37 AM, Andreas Färber <afaerber@suse.de> wrote:
> The type name for the SoC device, unlike those of its sub-devices,
> did not follow the QOM naming conventions. While the usage is internal
> only, this is exposed through QMP and HMP, so fix it before release.
>
> Cc: Alistair Francis <alistair.francis@xilinx.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
Looks good to me. Sorry about this slipping in, thanks for fixing it.
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Thanks,
Alistair
> ---
> include/hw/arm/stm32f205_soc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/hw/arm/stm32f205_soc.h b/include/hw/arm/stm32f205_soc.h
> index 3cda170..0390eff 100644
> --- a/include/hw/arm/stm32f205_soc.h
> +++ b/include/hw/arm/stm32f205_soc.h
> @@ -29,7 +29,7 @@
> #include "hw/timer/stm32f2xx_timer.h"
> #include "hw/char/stm32f2xx_usart.h"
>
> -#define TYPE_STM32F205_SOC "stm32f205_soc"
> +#define TYPE_STM32F205_SOC "stm32f205-soc"
> #define STM32F205_SOC(obj) \
> OBJECT_CHECK(STM32F205State, (obj), TYPE_STM32F205_SOC)
>
> --
> 2.1.4
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name
2015-04-10 14:47 ` Alistair Francis
@ 2015-04-10 14:51 ` Andreas Färber
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2015-04-10 14:51 UTC (permalink / raw)
To: Alistair Francis; +Cc: Peter Maydell, qemu-devel@nongnu.org Developers
Am 10.04.2015 um 16:47 schrieb Alistair Francis:
> On Sat, Apr 11, 2015 at 12:37 AM, Andreas Färber <afaerber@suse.de> wrote:
>> The type name for the SoC device, unlike those of its sub-devices,
>> did not follow the QOM naming conventions. While the usage is internal
>> only, this is exposed through QMP and HMP, so fix it before release.
>>
>> Cc: Alistair Francis <alistair.francis@xilinx.com>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>
> Looks good to me. Sorry about this slipping in, thanks for fixing it.
>
> Reviewed-by: Alistair Francis <alistair@alistair23.me>
Thanks. BTW a real SoC device would integrate ARMCPU as well - in that
case we would need to distinguish -arm-soc and -aarch64-soc, like we do
for CPUs.
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name
2015-04-10 14:37 [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name Andreas Färber
2015-04-10 14:47 ` Alistair Francis
@ 2015-04-13 10:36 ` Peter Maydell
1 sibling, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2015-04-13 10:36 UTC (permalink / raw)
To: Andreas Färber; +Cc: QEMU Developers, Alistair Francis
On 10 April 2015 at 15:37, Andreas Färber <afaerber@suse.de> wrote:
> The type name for the SoC device, unlike those of its sub-devices,
> did not follow the QOM naming conventions. While the usage is internal
> only, this is exposed through QMP and HMP, so fix it before release.
>
> Cc: Alistair Francis <alistair.francis@xilinx.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
> include/hw/arm/stm32f205_soc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/hw/arm/stm32f205_soc.h b/include/hw/arm/stm32f205_soc.h
> index 3cda170..0390eff 100644
> --- a/include/hw/arm/stm32f205_soc.h
> +++ b/include/hw/arm/stm32f205_soc.h
> @@ -29,7 +29,7 @@
> #include "hw/timer/stm32f2xx_timer.h"
> #include "hw/char/stm32f2xx_usart.h"
>
> -#define TYPE_STM32F205_SOC "stm32f205_soc"
> +#define TYPE_STM32F205_SOC "stm32f205-soc"
> #define STM32F205_SOC(obj) \
> OBJECT_CHECK(STM32F205State, (obj), TYPE_STM32F205_SOC)
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-13 10:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 14:37 [Qemu-devel] [PATCH for-2.3] stm32f205: Fix SoC type name Andreas Färber
2015-04-10 14:47 ` Alistair Francis
2015-04-10 14:51 ` Andreas Färber
2015-04-13 10:36 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).