Skip to contentSkip to conversation

e1000: disable debug by default

PATCH Applied Jason Wang 3 participants 4 messages Mar 22, 2017 – Mar 29, 2017

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 e1000: disable debug by default

Disable debug output by default, the information were not needed for release.

Cc Peter Maydell <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Leonid Bloch <[email protected]>
Cc Dmitry Fleytman <[email protected]>
---
 hw/net/e1000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/net/e1000.c +1 -1
index 9324949..f2e5072 100644
@@ -40,7 +40,7 @@
 
 static const uint8_t bcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
 
-#define E1000_DEBUG
+/* #define E1000_DEBUG */
 
 #ifdef E1000_DEBUG
 enum {
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jason Wang

Disable debug output by default, the information were not needed for release.

Cc Peter Maydell <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Leonid Bloch <[email protected]>
Cc Dmitry Fleytman <[email protected]>
Quoted 18 lines
---
 hw/net/e1000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/net/e1000.c +1 -1
index 9324949..f2e5072 100644
@@ -40,7 +40,7 @@
 
 static const uint8_t bcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
 
-#define E1000_DEBUG
+/* #define E1000_DEBUG */
 
 #ifdef E1000_DEBUG
 enum {
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jason Wang
Quoted 9 lines · Jason Wang

Disable debug output by default, the information were not needed for release.

Cc Peter Maydell <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Leonid Bloch <[email protected]>
Cc Dmitry Fleytman <[email protected]>
Quoted 3 lines
---
 hw/net/e1000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
author Applied
#3 lore raw
In reply to Jason Wang
Quoted 18 lines · Jason Wang

Disable debug output by default, the information were not needed for release.

Cc Peter Maydell <[email protected]>
Cc Stefan Hajnoczi <[email protected]>
Cc Leonid Bloch <[email protected]>
Cc Dmitry Fleytman <[email protected]>
---
  hw/net/e1000.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/net/e1000.c +0 -0
index 9324949..f2e5072 100644

hw/net/e1000.c line 46

Quoted 8 lines
hw/net/e1000.c +1 -1
@@ -40,7 +40,7 @@
 
  static const uint8_t bcast[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
 
-#define E1000_DEBUG
+/* #define E1000_DEBUG */
 
  #ifdef E1000_DEBUG
  enum {

Applied, thanks.