Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom KNF
details: https://anonhg.NetBSD.org/src/rev/6981ac41d120
branches: trunk
changeset: 357787:6981ac41d120
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Nov 27 17:27:37 2017 +0000
description:
KNF
diffstat:
sys/arch/arm/broadcom/bcm2835_space.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 83ec89525f61 -r 6981ac41d120 sys/arch/arm/broadcom/bcm2835_space.c
--- a/sys/arch/arm/broadcom/bcm2835_space.c Mon Nov 27 16:37:21 2017 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_space.c Mon Nov 27 17:27:37 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_space.c,v 1.11 2017/11/09 21:37:52 skrll Exp $ */
+/* $NetBSD: bcm2835_space.c,v 1.12 2017/11/27 17:27:37 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_space.c,v 1.11 2017/11/09 21:37:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_space.c,v 1.12 2017/11/27 17:27:37 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -364,7 +364,7 @@
{
*nbshp = bsh + offset;
- return (0);
+ return 0;
}
void
@@ -393,7 +393,7 @@
if (flags & BUS_SPACE_MAP_PREFETCHABLE)
bus_flags |= ARM32_MMAP_WRITECOMBINE;
- return (arm_btop(pa + offset) | bus_flags);
+ return arm_btop(pa + offset) | bus_flags;
}
int
Home |
Main Index |
Thread Index |
Old Index