forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/powerpc/platforms/pseries/hvcserver.c
....@@ -1,22 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * hvcserver.c
34 * Copyright (C) 2004 Ryan S Arnold, IBM Corporation
45 *
56 * PPC64 virtual I/O console server support.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
207 */
218
229 #include <linux/kernel.h>
....@@ -58,7 +45,7 @@
5845 case H_LONG_BUSY_ORDER_10_SEC:
5946 case H_LONG_BUSY_ORDER_100_SEC:
6047 return -EBUSY;
61
- case H_FUNCTION: /* fall through */
48
+ case H_FUNCTION:
6249 default:
6350 return -EPERM;
6451 }