Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci add or adjust fallthru comments.
details: https://anonhg.NetBSD.org/src/rev/2409c7296f86
branches: trunk
changeset: 448548:2409c7296f86
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 05 06:12:39 2019 +0000
description:
add or adjust fallthru comments.
diffstat:
sys/dev/pci/machfb.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 361941b9a803 -r 2409c7296f86 sys/dev/pci/machfb.c
--- a/sys/dev/pci/machfb.c Tue Feb 05 06:11:29 2019 +0000
+++ b/sys/dev/pci/machfb.c Tue Feb 05 06:12:39 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machfb.c,v 1.96 2019/02/03 12:39:38 tnn Exp $ */
+/* $NetBSD: machfb.c,v 1.97 2019/02/05 06:12:39 mrg Exp $ */
/*
* Copyright (c) 2002 Bang Jun-Young
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0,
- "$NetBSD: machfb.c,v 1.96 2019/02/03 12:39:38 tnn Exp $");
+ "$NetBSD: machfb.c,v 1.97 2019/02/05 06:12:39 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -519,6 +519,7 @@
case PCI_PRODUCT_ATI_MACH64_GX:
case PCI_PRODUCT_ATI_MACH64_CX:
is_gx = 1;
+ /* FALLTHROUGH */
case PCI_PRODUCT_ATI_MACH64_CT:
sc->has_dsp = 0;
break;
@@ -528,7 +529,7 @@
sc->has_dsp = 0;
break;
}
- /* Otherwise fall through. */
+ /* FALLTHROUGH */
default:
sc->has_dsp = 1;
}
Home |
Main Index |
Thread Index |
Old Index