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/4f813ceaf1e4
branches: trunk
changeset: 454693:4f813ceaf1e4
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 25 16:49:37 2019 +0000
description:
KNF
diffstat:
sys/arch/arm/broadcom/bcm2835_intr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1cc7d69ff909 -r 4f813ceaf1e4 sys/arch/arm/broadcom/bcm2835_intr.c
--- a/sys/arch/arm/broadcom/bcm2835_intr.c Wed Sep 25 16:48:06 2019 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_intr.c Wed Sep 25 16:49:37 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_intr.c,v 1.21 2019/09/25 16:48:06 skrll Exp $ */
+/* $NetBSD: bcm2835_intr.c,v 1.22 2019/09/25 16:49:37 skrll Exp $ */
/*-
* Copyright (c) 2012, 2015 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.21 2019/09/25 16:48:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.22 2019/09/25 16:49:37 skrll Exp $");
#define _INTR_PRIVATE
@@ -705,6 +705,7 @@
static int
bcm2836mp_icu_fdt_decode_irq(u_int *specifier)
{
+
if (!specifier)
return -1;
return be32toh(specifier[0]);
Home |
Main Index |
Thread Index |
Old Index