Skip to contentSkip to conversation

ppc/xive: fix remaining XiveFabric names

PATCH Applied Cédric Le Goater 3 participants 3 messages Jan 9, 2019 – Jan 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc/xive: fix remaining XiveFabric names

---
 include/hw/ppc/xive.h | 2 +-
 hw/intc/xive.c        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
include/hw/ppc/xive.h +1 -1
index 4cd2e54c4958..0f935a146c66 100644
@@ -146,7 +146,7 @@
 #include "hw/ppc/xive_regs.h"
 
 /*
- * XIVE Fabric (Interface between Source and Router)
+ * XIVE Notifier (Interface between Source and Router)
  */
 
 typedef struct XiveNotifier {
hw/intc/xive.c +3 -3
index 469c90e50c6a..39aac9f89d2a 100644
@@ -1659,9 +1659,9 @@ static const TypeInfo xive_end_source_info = {
 };
 
 /*
- * XIVE Fabric
+ * XIVE Notifier
  */
-static const TypeInfo xive_fabric_info = {
+static const TypeInfo xive_notifier_info = {
     .name = TYPE_XIVE_NOTIFIER,
     .parent = TYPE_INTERFACE,
     .class_size = sizeof(XiveNotifierClass),
@@ -1670,7 +1670,7 @@ static const TypeInfo xive_fabric_info = {
 static void xive_register_types(void)
 {
     type_register_static(&xive_source_info);
-    type_register_static(&xive_fabric_info);
+    type_register_static(&xive_notifier_info);
     type_register_static(&xive_router_info);
     type_register_static(&xive_end_source_info);
     type_register_static(&xive_tctx_info);
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · On Wed, 9 Jan 2019 16:15:32 +0100 Cédric Le Goater <[email protected]> wrote:

---

Quoted 42 lines
 include/hw/ppc/xive.h | 2 +-
 hw/intc/xive.c        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
include/hw/ppc/xive.h +1 -1
index 4cd2e54c4958..0f935a146c66 100644
@@ -146,7 +146,7 @@
 #include "hw/ppc/xive_regs.h"
 
 /*
- * XIVE Fabric (Interface between Source and Router)
+ * XIVE Notifier (Interface between Source and Router)
  */
 
 typedef struct XiveNotifier {
hw/intc/xive.c +3 -3
index 469c90e50c6a..39aac9f89d2a 100644
@@ -1659,9 +1659,9 @@ static const TypeInfo xive_end_source_info = {
 };
 
 /*
- * XIVE Fabric
+ * XIVE Notifier
  */
-static const TypeInfo xive_fabric_info = {
+static const TypeInfo xive_notifier_info = {
     .name = TYPE_XIVE_NOTIFIER,
     .parent = TYPE_INTERFACE,
     .class_size = sizeof(XiveNotifierClass),
@@ -1670,7 +1670,7 @@ static const TypeInfo xive_fabric_info = {
 static void xive_register_types(void)
 {
     type_register_static(&xive_source_info);
-    type_register_static(&xive_fabric_info);
+    type_register_static(&xive_notifier_info);
     type_register_static(&xive_router_info);
     type_register_static(&xive_end_source_info);
     type_register_static(&xive_tctx_info);
Applied
#2 lore raw
In reply to Cédric Le Goater
Quoted 1 line · Cédric Le Goater

Applied, thanks.

Quoted 43 lines
---
 include/hw/ppc/xive.h | 2 +-
 hw/intc/xive.c        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
include/hw/ppc/xive.h +1 -1
index 4cd2e54c4958..0f935a146c66 100644
@@ -146,7 +146,7 @@
 #include "hw/ppc/xive_regs.h"
 
 /*
- * XIVE Fabric (Interface between Source and Router)
+ * XIVE Notifier (Interface between Source and Router)
  */
 
 typedef struct XiveNotifier {
hw/intc/xive.c +3 -3
index 469c90e50c6a..39aac9f89d2a 100644
@@ -1659,9 +1659,9 @@ static const TypeInfo xive_end_source_info = {
 };
 
 /*
- * XIVE Fabric
+ * XIVE Notifier
  */
-static const TypeInfo xive_fabric_info = {
+static const TypeInfo xive_notifier_info = {
     .name = TYPE_XIVE_NOTIFIER,
     .parent = TYPE_INTERFACE,
     .class_size = sizeof(XiveNotifierClass),
@@ -1670,7 +1670,7 @@ static const TypeInfo xive_fabric_info = {
 static void xive_register_types(void)
 {
     type_register_static(&xive_source_info);
-    type_register_static(&xive_fabric_info);
+    type_register_static(&xive_notifier_info);
     type_register_static(&xive_router_info);
     type_register_static(&xive_end_source_info);
     type_register_static(&xive_tctx_info);
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson