All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: dgdegra@tycho.nsa.gov, xen-devel@lists.xensource.com,
	Ian.Campbell@citrix.com
Subject: Re: [PATCH v3 2/2] arm: export platform_op XENPF_settime64
Date: Wed, 11 Nov 2015 18:23:39 +0000	[thread overview]
Message-ID: <564387AB.5070005@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1511111738110.526@kaball.uk.xensource.com>

On 11/11/15 18:14, Stefano Stabellini wrote:
> On Wed, 11 Nov 2015, Julien Grall wrote:
>>> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
>>> index 1418092..aa0fde6 100644
>>> --- a/xen/arch/arm/vtimer.c
>>> +++ b/xen/arch/arm/vtimer.c
>>> @@ -22,13 +22,13 @@
>>>  #include <xen/timer.h>
>>>  #include <xen/sched.h>
>>>  #include <xen/perfc.h>
>>> +#include <asm/div64.h>
>>>  #include <asm/irq.h>
>>>  #include <asm/time.h>
>>>  #include <asm/gic.h>
>>>  #include <asm/vgic.h>
>>>  #include <asm/regs.h>
>>>  
>>> -extern s_time_t ticks_to_ns(uint64_t ticks);
>>
>> If it's a valid change you should mention it in the commit message
>> because it's not related to this patch.
>>
>> Otherwise it looks spurious...
> 
> Sorry, that's not a valid change anymore, I meant to remove it. Thanks
> for checking.

If it wasn't clear, I think this change is valid. Defining the prototype
in the C file is a call to have the prototype not matching the declaration.

Any prototypes should be declared in the header and not that way.

I'm fine with this, but it should be mentioned in the commit message.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-11-11 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 17:17 [PATCH v3 0/2] wallclock time on arm Stefano Stabellini
2015-11-11 17:19 ` [PATCH v3 1/2] xen: move wallclock functions from x86 to common Stefano Stabellini
2015-11-11 17:19 ` [PATCH v3 2/2] arm: export platform_op XENPF_settime64 Stefano Stabellini
2015-11-11 17:35   ` Julien Grall
2015-11-11 18:14     ` Stefano Stabellini
2015-11-11 18:23       ` Julien Grall [this message]
2015-11-12 11:32         ` Stefano Stabellini
2015-11-12 11:31           ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=564387AB.5070005@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.