hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/misc/ibmasm/command.c
....@@ -1,25 +1,11 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12
23 /*
34 * IBM ASM Service Processor Device Driver
45 *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
- *
196 * Copyright (C) IBM Corporation, 2004
207 *
218 * Author: Max Asböck <amax@us.ibm.com>
22
- *
239 */
2410
2511 #include <linux/sched.h>
....@@ -108,7 +94,7 @@
10894 }
10995 }
11096
111
-/**
97
+/*
11298 * exec_command
11399 * send a command to a service processor
114100 * Commands are executed sequentially. One command (sp->current_command)
....@@ -154,7 +140,7 @@
154140 }
155141 }
156142
157
-/**
143
+/*
158144 * Sleep until a command has failed or a response has been received
159145 * and the command status been updated by the interrupt handler.
160146 * (see receive_response).
....@@ -167,7 +153,7 @@
167153 timeout * HZ);
168154 }
169155
170
-/**
156
+/*
171157 * receive_command_response
172158 * called by the interrupt handler when a dot command of type command_response
173159 * was received.