Skip to contentSkip to conversation

cadence_gem: Don't define GEM_INT_Q1_MASK twice

PATCH In review Jonathan Behrens 3 participants 3 messages May 13, 2019 – May 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cadence_gem: Don't define GEM_INT_Q1_MASK twice

---
 hw/net/cadence_gem.c | 1 -
 1 file changed, 1 deletion(-)
hw/net/cadence_gem.c +0 -1
index 7f63411430..37cb8a4e5c 100644
@@ -146,7 +146,6 @@
 #define GEM_DESCONF7      (0x00000298/4)
 
 #define GEM_INT_Q1_STATUS               (0x00000400 / 4)
-#define GEM_INT_Q1_MASK                 (0x00000640 / 4)
 
 #define GEM_TRANSMIT_Q1_PTR             (0x00000440 / 4)
 #define GEM_TRANSMIT_Q7_PTR             (GEM_TRANSMIT_Q1_PTR + 6)
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Jonathan Behrens

Good find. Thanks for the patch!

Can this go via your tree Jason?

Alistair

Quoted 19 lines
---
 hw/net/cadence_gem.c | 1 -
 1 file changed, 1 deletion(-)
hw/net/cadence_gem.c +0 -2
index 7f63411430..37cb8a4e5c 100644
@@ -146,7 +146,6 @@
 #define GEM_DESCONF7      (0x00000298/4)
 
 #define GEM_INT_Q1_STATUS               (0x00000400 / 4)
-#define GEM_INT_Q1_MASK                 (0x00000640 / 4)
 
 #define GEM_TRANSMIT_Q1_PTR             (0x00000440 / 4)
 #define GEM_TRANSMIT_Q7_PTR             (GEM_TRANSMIT_Q1_PTR + 6)
--

2.20.1

Reviewed-by on v1 1/1
#2 lore raw
In reply to Jonathan Behrens
Quoted 11 lines · Jonathan Behrens
---
 hw/net/cadence_gem.c | 1 -
 1 file changed, 1 deletion(-)
hw/net/cadence_gem.c +0 -0
index 7f63411430..37cb8a4e5c 100644

hw/net/cadence_gem.c line 151

Quoted 7 lines
hw/net/cadence_gem.c +0 -1
@@ -146,7 +146,6 @@
 #define GEM_DESCONF7      (0x00000298/4)
 
 #define GEM_INT_Q1_STATUS               (0x00000400 / 4)
-#define GEM_INT_Q1_MASK                 (0x00000640 / 4)
 
 #define GEM_TRANSMIT_Q1_PTR             (0x00000440 / 4)
 #define GEM_TRANSMIT_Q7_PTR             (GEM_TRANSMIT_Q1_PTR + 6)