hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/xen/xen-acpi-memhotplug.c
....@@ -1,18 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2012 Intel Corporation
34 * Author: Liu Jinsong <jinsong.liu@intel.com>
45 * Author: Jiang Yunhong <yunhong.jiang@intel.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or (at
9
- * your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful, but
12
- * WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
14
- * NON INFRINGEMENT. See the GNU General Public License for more
15
- * details.
166 */
177
188 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -239,7 +229,7 @@
239229 case ACPI_NOTIFY_BUS_CHECK:
240230 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
241231 "\nReceived BUS CHECK notification for device\n"));
242
- /* Fall Through */
232
+ fallthrough;
243233 case ACPI_NOTIFY_DEVICE_CHECK:
244234 if (event == ACPI_NOTIFY_DEVICE_CHECK)
245235 ACPI_DEBUG_PRINT((ACPI_DB_INFO,