forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/powerpc/platforms/powernv/opal-async.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * PowerNV OPAL asynchronous completion interfaces
34 *
45 * Copyright 2013-2017 IBM Corp.
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 #undef DEBUG
....@@ -108,7 +104,7 @@
108104 */
109105 case ASYNC_TOKEN_DISPATCHED:
110106 opal_async_tokens[token].state = ASYNC_TOKEN_ABANDONED;
111
- /* Fall through */
107
+ fallthrough;
112108 default:
113109 rc = 1;
114110 }