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 PR/52848: Brad Spencer: Comment out KA...
details: https://anonhg.NetBSD.org/src/rev/4a4d65edc2d0
branches: trunk
changeset: 358422:4a4d65edc2d0
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 28 22:42:36 2017 +0000
description:
PR/52848: Brad Spencer: Comment out KASSERT, length 0 appears to be valid.
diffstat:
sys/arch/arm/broadcom/bcm2835_bsc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 79d002cc05ca -r 4a4d65edc2d0 sys/arch/arm/broadcom/bcm2835_bsc.c
--- a/sys/arch/arm/broadcom/bcm2835_bsc.c Thu Dec 28 18:41:33 2017 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_bsc.c Thu Dec 28 22:42:36 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_bsc.c,v 1.8 2017/12/10 21:38:26 skrll Exp $ */
+/* $NetBSD: bcm2835_bsc.c,v 1.9 2017/12/28 22:42:36 christos Exp $ */
/*
* Copyright (c) 2012 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_bsc.c,v 1.8 2017/12/10 21:38:26 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_bsc.c,v 1.9 2017/12/28 22:42:36 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_kernhist.h"
@@ -331,7 +331,9 @@
dlen = datalen;
dlen = __SHIFTIN(dlen, BSC_DLEN_DLEN);
+#if 0
KASSERT(dlen >= 1);
+#endif
bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_DLEN, dlen);
bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_A, a);
bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_C, c | BSC_C_ST);
Home |
Main Index |
Thread Index |
Old Index