From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH ARM v5 07/20] mini-os: whitespace Date: Thu, 26 Jun 2014 13:35:28 +0200 Message-ID: <20140626113528.GA29700@type.bordeaux.inria.fr> References: <1403782117-15125-1-git-send-email-talex5@gmail.com> <1403782117-15125-8-git-send-email-talex5@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X07xi-0007KJ-R4 for xen-devel@lists.xenproject.org; Thu, 26 Jun 2014 11:35:31 +0000 Content-Disposition: inline In-Reply-To: <1403782117-15125-8-git-send-email-talex5@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Thomas Leonard Cc: xen-devel@lists.xenproject.org, anil@recoil.org, Dave.Scott@eu.citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Thomas Leonard, le Thu 26 Jun 2014 12:28:24 +0100, a =E9crit : > Signed-off-by: Thomas Leonard Acked-by: Samuel Thibault > --- > extras/mini-os/gnttab.c | 2 +- > extras/mini-os/hypervisor.c | 2 +- > extras/mini-os/sched.c | 26 +++++++++++++------------- > 3 files changed, 15 insertions(+), 15 deletions(-) > = > diff --git a/extras/mini-os/gnttab.c b/extras/mini-os/gnttab.c > index 2f1b3d7..6f25006 100644 > --- a/extras/mini-os/gnttab.c > +++ b/extras/mini-os/gnttab.c > @@ -164,7 +164,7 @@ gnttabop_error(int16_t status) > { > status =3D -status; > if (status < 0 || status >=3D ARRAY_SIZE(gnttabop_error_msgs)) > - return "bad status"; > + return "bad status"; > else > return gnttabop_error_msgs[status]; > } > diff --git a/extras/mini-os/hypervisor.c b/extras/mini-os/hypervisor.c > index b4688a0..c5de872 100644 > --- a/extras/mini-os/hypervisor.c > +++ b/extras/mini-os/hypervisor.c > @@ -64,7 +64,7 @@ void do_hypervisor_callback(struct pt_regs *regs) > l2 &=3D ~(1UL << l2i); > = > port =3D (l1i * (sizeof(unsigned long) * 8)) + l2i; > - do_event(port, regs); > + do_event(port, regs); > } > } > = > diff --git a/extras/mini-os/sched.c b/extras/mini-os/sched.c > index 174945e..99d87b6 100644 > --- a/extras/mini-os/sched.c > +++ b/extras/mini-os/sched.c > @@ -165,28 +165,28 @@ struct _reent *__getreent(void) > struct _reent *_reent; > = > if (!threads_started) > - _reent =3D _impure_ptr; > + _reent =3D _impure_ptr; > else if (in_callback) > - _reent =3D &callback_reent; > + _reent =3D &callback_reent; > else > - _reent =3D &get_current()->reent; > + _reent =3D &get_current()->reent; > = > #ifndef NDEBUG > #if defined(__x86_64__) || defined(__x86__) > { > #ifdef __x86_64__ > - register unsigned long sp asm ("rsp"); > + register unsigned long sp asm ("rsp"); > #else > - register unsigned long sp asm ("esp"); > + register unsigned long sp asm ("esp"); > #endif > - if ((sp & (STACK_SIZE-1)) < STACK_SIZE / 16) { > - static int overflowing; > - if (!overflowing) { > - overflowing =3D 1; > - printk("stack overflow\n"); > - BUG(); > - } > - } > + if ((sp & (STACK_SIZE-1)) < STACK_SIZE / 16) { > + static int overflowing; > + if (!overflowing) { > + overflowing =3D 1; > + printk("stack overflow\n"); > + BUG(); > + } > + } > } > #endif > #else > -- = > 2.0.0 > = -- = Samuel I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License.