Patchwork translate: remove redundantly included qemu/timer.h

login
register
mail settings
Submitter liguang
Date April 30, 2013, 2:59 a.m.
Message ID <1367290790-19159-1-git-send-email-lig.fnst@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/240540/
State New
Headers show

Comments

liguang - April 30, 2013, 2:59 a.m.
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
---
 translate-all.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Peter Maydell - April 30, 2013, 7:15 a.m.
On 30 April 2013 03:59, liguang <lig.fnst@cn.fujitsu.com> wrote:
> Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
> ---
>  translate-all.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/translate-all.c b/translate-all.c
> index da93608..d04a116 100644
> --- a/translate-all.c
> +++ b/translate-all.c
> @@ -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
Michael Tokarev - May 1, 2013, 5:09 p.m.
30.04.2013 06:59, liguang wrote:
> Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
> ---
>  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

> diff --git a/translate-all.c b/translate-all.c
> index da93608..d04a116 100644
> --- a/translate-all.c
> +++ b/translate-all.c
> @@ -55,7 +55,6 @@
>  #else
>  #include "exec/address-spaces.h"
>  #endif
> -#include "qemu/timer.h"
>  
>  #include "exec/cputlb.h"
>  #include "translate-all.h"
>
Andreas Färber - May 1, 2013, 5:29 p.m.
Am 01.05.2013 19:09, schrieb Michael Tokarev:
> 30.04.2013 06:59, liguang wrote:
>> Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
>> ---
>>  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.

> 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
Peter Maydell - May 1, 2013, 5:49 p.m.
On 1 May 2013 18:09, Michael Tokarev <mjt@tls.msk.ru> wrote:
> Also, Peter, does your followup email mean your Rewieved-by
> should be added too?

As Andreas says, you don't add R-b: tags unless they
were explicitly given. However in this case I think I
just forgot to write it, so here you are:

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
Michael Tokarev - May 18, 2013, 11:26 a.m.
30.04.2013 06:59, liguang wrote:
> Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>

Thanks, applied to the trivial patches queue.

/mjt

Patch

diff --git a/translate-all.c b/translate-all.c
index da93608..d04a116 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -55,7 +55,6 @@ 
 #else
 #include "exec/address-spaces.h"
 #endif
-#include "qemu/timer.h"
 
 #include "exec/cputlb.h"
 #include "translate-all.h"