Module Name: src
Committed By: mrg
Date: Tue Feb 5 06:12:39 UTC 2019
Modified Files:
src/sys/dev/pci: machfb.c
Log Message:
add or adjust fallthru comments.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/machfb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/machfb.c
diff -u src/sys/dev/pci/machfb.c:1.96 src/sys/dev/pci/machfb.c:1.97
--- src/sys/dev/pci/machfb.c:1.96 Sun Feb 3 12:39:38 2019
+++ src/sys/dev/pci/machfb.c Tue Feb 5 06:12:39 2019
@@ -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 @@ mach64_attach(device_t parent, device_t
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 @@ mach64_attach(device_t parent, device_t
sc->has_dsp = 0;
break;
}
- /* Otherwise fall through. */
+ /* FALLTHROUGH */
default:
sc->has_dsp = 1;
}