Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 KNF
details: https://anonhg.NetBSD.org/src/rev/7b73c1af2ad5
branches: trunk
changeset: 357781:7b73c1af2ad5
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Nov 27 07:44:27 2017 +0000
description:
KNF
diffstat:
sys/arch/arm/arm32/armv7_generic_space.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 4beac3fcf2ca -r 7b73c1af2ad5 sys/arch/arm/arm32/armv7_generic_space.c
--- a/sys/arch/arm/arm32/armv7_generic_space.c Mon Nov 27 05:05:50 2017 +0000
+++ b/sys/arch/arm/arm32/armv7_generic_space.c Mon Nov 27 07:44:27 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armv7_generic_space.c,v 1.3 2016/08/01 19:05:24 jakllsch Exp $ */
+/* $NetBSD: armv7_generic_space.c,v 1.4 2017/11/27 07:44:27 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armv7_generic_space.c,v 1.3 2016/08/01 19:05:24 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armv7_generic_space.c,v 1.4 2017/11/27 07:44:27 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -348,7 +348,7 @@
{
*nbshp = bsh + offset;
- return (0);
+ return 0;
}
int
@@ -357,7 +357,7 @@
{
*nbshp = bsh + 4 * offset;
- return (0);
+ return 0;
}
void
@@ -385,7 +385,7 @@
if (flags & BUS_SPACE_MAP_PREFETCHABLE)
bus_flags |= ARM32_MMAP_WRITECOMBINE;
- return (arm_btop(bpa + offset) | bus_flags);
+ return arm_btop(bpa + offset) | bus_flags;
}
paddr_t
@@ -396,7 +396,7 @@
if (flags & BUS_SPACE_MAP_PREFETCHABLE)
bus_flags |= ARM32_MMAP_WRITECOMBINE;
- return (arm_btop(bpa + 4 * offset) | bus_flags);
+ return arm_btop(bpa + 4 * offset) | bus_flags;
}
int
Home |
Main Index |
Thread Index |
Old Index