Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa KNF



details:   https://anonhg.NetBSD.org/src/rev/7ba4693cc3ff
branches:  trunk
changeset: 954671:7ba4693cc3ff
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Sep 08 06:13:53 2020 +0000

description:
KNF

diffstat:

 sys/arch/hppa/hppa/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0e32bd17fb69 -r 7ba4693cc3ff sys/arch/hppa/hppa/machdep.c
--- a/sys/arch/hppa/hppa/machdep.c      Tue Sep 08 06:11:32 2020 +0000
+++ b/sys/arch/hppa/hppa/machdep.c      Tue Sep 08 06:13:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.14 2020/06/11 19:20:43 ad Exp $  */
+/*     $NetBSD: machdep.c,v 1.15 2020/09/08 06:13:53 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.14 2020/06/11 19:20:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.15 2020/09/08 06:13:53 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -497,7 +497,7 @@
        p[5] = -(p[0] + p[1] + p[2] + p[3] + p[4] + p[6] + p[7]);
        p = &os_hpmc_cont;
        q = (&os_hpmc_cont_end - 1);
-       for(*q = 0; p < q; *q -= *(p++));
+       for (*q = 0; p < q; *q -= *(p++));
 
        /* Calculate the OS_TOC handler checksum. */
        p = (u_int *) &os_toc;



Home | Main Index | Thread Index | Old Index