[PATCH] eppic: makedumpfile fails to recognise between global

Aruna Balakrishnaiah aruna at linux.vnet.ibm.com
Mon Apr 14 22:01:00 PDT 2014


    symbol and structure of the same name

    Fix the eppic script to reflect the type

    Signed-off-by: Aruna Balakrishnaiah <aruna at linux.vnet.ibm.com>
---
 eppic_scripts/udp_sk_buf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eppic_scripts/udp_sk_buf.c b/eppic_scripts/udp_sk_buf.c
index 0fa1325..ca8c77b 100644
--- a/eppic_scripts/udp_sk_buf.c
+++ b/eppic_scripts/udp_sk_buf.c
@@ -30,7 +30,7 @@ udp()
 	struct udp_table *table;
 	struct sock_common *off = 0;
 
-	table = &udp_table;
+	table = (struct udp_table *)&udp_table;
 
 	for (i = 0; i < table->mask; i++) {
 		struct hlist_nulls_node *pos;




More information about the kexec mailing list