cadence_gem: Don't define GEM_INT_Q1_MASK twice
PATCH 1/1 cadence_gem: Don't define GEM_INT_Q1_MASK twice
Signed-off-by Jonathan Behrens <[email protected]>
--- hw/net/cadence_gem.c | 1 - 1 file changed, 1 deletion(-)
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)
Signature · 1 line
2.20.1
Quoted 2 lines · Jonathan Behrens
Signed-off-by Jonathan Behrens <[email protected]>
Good find. Thanks for the patch!
Reviewed-by Alistair Francis <[email protected]>
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@@ -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
Quoted 11 lines · Jonathan Behrens
Signed-off-by Jonathan Behrens <[email protected]>--- hw/net/cadence_gem.c | 1 - 1 file changed, 1 deletion(-)hw/net/cadence_gem.c +0
-0
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)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>