hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/misc/ibmasm/event.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>
....@@ -45,7 +31,7 @@
4531 wake_up_interruptible(&reader->wait);
4632 }
4733
48
-/**
34
+/*
4935 * receive_event
5036 * Called by the interrupt handler when a dot command of type sp_event is
5137 * received.
....@@ -82,7 +68,7 @@
8268 return (r->next_serial_number < b->next_serial_number);
8369 }
8470
85
-/**
71
+/*
8672 * get_next_event
8773 * Called by event readers (initiated from user space through the file
8874 * system).