Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch KNF
details: https://anonhg.NetBSD.org/src/rev/865cba1bc282
branches: trunk
changeset: 452589:865cba1bc282
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Jul 16 09:25:55 2019 +0000
description:
KNF
diffstat:
sys/arch/arm/at91/at91bus.c | 6 +++---
sys/arch/evbarm/armadillo/armadillo9_machdep.c | 6 +++---
sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c | 4 ++--
sys/arch/evbarm/gemini/gemini_machdep.c | 6 +++---
sys/arch/evbarm/hdl_g/hdlg_machdep.c | 6 +++---
sys/arch/evbarm/imx31/imx31lk_machdep.c | 6 +++---
sys/arch/evbarm/iq80321/iq80321_machdep.c | 6 +++---
sys/arch/evbarm/ixdp425/ixdp425_machdep.c | 6 +++---
sys/arch/evbarm/ixm1200/ixm1200_machdep.c | 6 +++---
sys/arch/evbarm/lubbock/lubbock_machdep.c | 6 +++---
sys/arch/evbarm/mini2440/mini2440_machdep.c | 4 ++--
sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c | 6 +++---
sys/arch/evbarm/nslu2/nslu2_machdep.c | 6 +++---
sys/arch/evbarm/osk5912/osk5912_machdep.c | 6 +++---
sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c | 6 +++---
sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c | 6 +++---
sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c | 6 +++---
sys/arch/evbarm/tsarm/tsarm_machdep.c | 6 +++---
sys/arch/evbarm/viper/viper_machdep.c | 6 +++---
sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c | 6 +++---
sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c | 6 +++---
sys/arch/iyonix/iyonix/iyonix_machdep.c | 6 +++---
sys/arch/netwinder/netwinder/netwinder_machdep.c | 6 +++---
sys/arch/shark/shark/shark_machdep.c | 6 +++---
sys/arch/zaurus/zaurus/machdep.c | 6 +++---
25 files changed, 73 insertions(+), 73 deletions(-)
diffs (truncated from 660 to 300 lines):
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/arm/at91/at91bus.c
--- a/sys/arch/arm/at91/at91bus.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/arm/at91/at91bus.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at91bus.c,v 1.23 2018/10/28 14:30:30 skrll Exp $ */
+/* $NetBSD: at91bus.c,v 1.24 2019/07/16 09:25:55 skrll Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.23 2018/10/28 14:30:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.24 2019/07/16 09:25:55 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -553,7 +553,7 @@
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
static int
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/armadillo/armadillo9_machdep.c
--- a/sys/arch/evbarm/armadillo/armadillo9_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/armadillo/armadillo9_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armadillo9_machdep.c,v 1.32 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: armadillo9_machdep.c,v 1.33 2019/07/16 09:25:55 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.32 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.33 2019/07/16 09:25:55 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -871,7 +871,7 @@
evbarm_device_register = armadillo9_device_register;
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
void
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c
--- a/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: g42xxeb_machdep.c,v 1.33 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: g42xxeb_machdep.c,v 1.34 2019/07/16 09:25:55 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2004, 2005 Genetec Corporation.
@@ -882,7 +882,7 @@
pldreg8_write(G42XXEB_LED, 0);
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
#if 0
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/gemini/gemini_machdep.c
--- a/sys/arch/evbarm/gemini/gemini_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/gemini/gemini_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_machdep.c,v 1.29 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: gemini_machdep.c,v 1.30 2019/07/16 09:25:56 skrll Exp $ */
/* adapted from:
* NetBSD: sdp24xx_machdep.c,v 1.4 2008/08/27 11:03:10 matt Exp
@@ -129,7 +129,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.29 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.30 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -759,7 +759,7 @@
printf("initarm done.\n");
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
static void
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/hdl_g/hdlg_machdep.c
--- a/sys/arch/evbarm/hdl_g/hdlg_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/hdl_g/hdlg_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdlg_machdep.c,v 1.26 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: hdlg_machdep.c,v 1.27 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.26 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.27 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -629,7 +629,7 @@
#endif
/* We return the new stack pointer address */
- return (kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
/*
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/imx31/imx31lk_machdep.c
--- a/sys/arch/evbarm/imx31/imx31lk_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/imx31/imx31lk_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: imx31lk_machdep.c,v 1.24 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: imx31lk_machdep.c,v 1.25 2019/07/16 09:25:56 skrll Exp $ */
/*
* Startup routines for the ZOOM iMX31 LITEKIT.
@@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.24 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.25 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -724,7 +724,7 @@
Debugger();
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
#if 0
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/iq80321/iq80321_machdep.c
--- a/sys/arch/evbarm/iq80321/iq80321_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/iq80321/iq80321_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iq80321_machdep.c,v 1.59 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: iq80321_machdep.c,v 1.60 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.59 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.60 2019/07/16 09:25:56 skrll Exp $");
#include "opt_console.h"
#include "opt_ddb.h"
@@ -775,7 +775,7 @@
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
void
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/ixdp425/ixdp425_machdep.c
--- a/sys/arch/evbarm/ixdp425/ixdp425_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/ixdp425/ixdp425_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixdp425_machdep.c,v 1.41 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: ixdp425_machdep.c,v 1.42 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2003
* Ichiro FUKUHARA <ichiro%ichiro.org@localhost>.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.41 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.42 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -742,7 +742,7 @@
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
/*
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/ixm1200/ixm1200_machdep.c
--- a/sys/arch/evbarm/ixm1200/ixm1200_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/ixm1200/ixm1200_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixm1200_machdep.c,v 1.61 2018/10/28 14:30:31 skrll Exp $ */
+/* $NetBSD: ixm1200_machdep.c,v 1.62 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2002, 2003
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.61 2018/10/28 14:30:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.62 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -724,7 +724,7 @@
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
void
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/lubbock/lubbock_machdep.c
--- a/sys/arch/evbarm/lubbock/lubbock_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/lubbock/lubbock_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lubbock_machdep.c,v 1.37 2018/10/28 14:30:32 skrll Exp $ */
+/* $NetBSD: lubbock_machdep.c,v 1.38 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.37 2018/10/28 14:30:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.38 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -945,7 +945,7 @@
#endif
/* We return the new stack pointer address */
- return(kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
#if 0
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/mini2440/mini2440_machdep.c
--- a/sys/arch/evbarm/mini2440/mini2440_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/mini2440/mini2440_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -131,7 +131,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.13 2018/10/28 14:30:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.14 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@@ -929,7 +929,7 @@
evbarm_device_register = mini2440_device_register;
/* We return the new stack pointer address */
- return (kernelstack.pv_va + USPACE_SVC_STACK_TOP);
+ return kernelstack.pv_va + USPACE_SVC_STACK_TOP;
}
void
diff -r c20ba3b19351 -r 865cba1bc282 sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c
--- a/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c Tue Jul 16 07:27:35 2019 +0000
+++ b/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c Tue Jul 16 09:25:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npwr_fc_machdep.c,v 1.24 2018/10/28 14:30:32 skrll Exp $ */
+/* $NetBSD: npwr_fc_machdep.c,v 1.25 2019/07/16 09:25:56 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.24 2018/10/28 14:30:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.25 2019/07/16 09:25:56 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
Home |
Main Index |
Thread Index |
Old Index