Skip to contentSkip to conversation

translate: remove redundantly included qemu/timer.h

PATCH Applied liguang 4 participants 6 messages Apr 30, 2013 – May 18, 2013

lore
Share & tools
lore

liguang

author
#0 lore raw

PATCH 1/1 translate: remove redundantly included qemu/timer.h

---
 translate-all.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
translate-all.c +0 -1
index da93608..d04a116 100644
@@ -55,7 +55,6 @@
 #else
 #include "exec/address-spaces.h"
 #endif
-#include "qemu/timer.h"
 
 #include "exec/cputlb.h"
 #include "translate-all.h"
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 10 lines · liguang
---
 translate-all.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
translate-all.c +0 -0
index da93608..d04a116 100644

translate-all.c line 58

Quoted 4 lines
translate-all.c +0 -1
@@ -55,7 +55,6 @@
 #else
 #include "exec/address-spaces.h"
 #endif
-#include "qemu/timer.h"

Nice catch -- this was a fix for a compile failure when compiling with profiling enabled, which got fixed once directly (commit 0aa09897) and once via a commit through the PPC tree (commit c8ff5daa0). This change fixes the double-include by effectively reverting the latter commit.

thanks
-- PMM

#2 lore raw
In reply to liguang
Quoted 4 lines · liguang
---
 translate-all.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Hmm. Does we require S-o-b line even for such a trivial (but nevertheless important) stuff? Also, Peter, does your followup email mean your Rewieved-by should be added too?

Confused,

/mjt

Quoted 13 lines
translate-all.c +0 -1
index da93608..d04a116 100644
@@ -55,7 +55,6 @@
 #else
 #include "exec/address-spaces.h"
 #endif
-#include "qemu/timer.h"
 
 #include "exec/cputlb.h"
 #include "translate-all.h"
#3 lore raw

Am 01.05.2013 19:09, schrieb Michael Tokarev:

Quoted 7 lines
Quoted 4 lines · liguang
---
 translate-all.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Hmm. Does we require S-o-b line even for such a trivial (but nevertheless important) stuff?

Yes: http://wiki.qemu.org/Contribute/SubmitAPatch

If it's missing, author can either reply with Signed-off-by - if you're willing to fix it up - or resend.

And whenever you pick up patches, you sign them off as well.

Quoted 1 line

Also, Peter, does your followup email mean your Rewieved-by should be added too?

No, generally not if it was not explicitly given. Exception from the
rule: We have allowed to turn an informal "ack" into an Acked-by.

Thanks for taking over qemu-trivial!

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg