Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Add FALLTHROUGH comment in acpi_make_devnode AC...
details: https://anonhg.NetBSD.org/src/rev/9ff4025c9e72
branches: trunk
changeset: 828029:9ff4025c9e72
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Nov 23 15:48:24 2017 +0000
description:
Add FALLTHROUGH comment in acpi_make_devnode ACPI_TYPE_DEVICE case.
diffstat:
sys/dev/acpi/acpi.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 4edbf6715595 -r 9ff4025c9e72 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c Thu Nov 23 07:41:27 2017 +0000
+++ b/sys/dev/acpi/acpi.c Thu Nov 23 15:48:24 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.264 2017/10/28 04:53:55 riastradh Exp $ */
+/* $NetBSD: acpi.c,v 1.265 2017/11/23 15:48:24 jmcneill Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.264 2017/10/28 04:53:55 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.265 2017/11/23 15:48:24 jmcneill Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@@ -713,6 +713,8 @@
case ACPI_TYPE_DEVICE:
acpi_activate_device(handle, &devinfo);
+ /* FALLTHROUGH */
+
case ACPI_TYPE_PROCESSOR:
case ACPI_TYPE_THERMAL:
case ACPI_TYPE_POWER:
Home |
Main Index |
Thread Index |
Old Index