hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/input/serio/libps2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * PS/2 driver library
34 *
....@@ -5,11 +6,6 @@
56 * Copyright (c) 2004 Dmitry Torokhov
67 */
78
8
-/*
9
- * This program is free software; you can redistribute it and/or modify it
10
- * under the terms of the GNU General Public License version 2 as published by
11
- * the Free Software Foundation.
12
- */
139
1410 #include <linux/delay.h>
1511 #include <linux/module.h>
....@@ -409,6 +405,7 @@
409405 ps2dev->nak = PS2_RET_ERR;
410406 break;
411407 }
408
+ /* Fall through */
412409
413410 /*
414411 * Workaround for mice which don't ACK the Get ID command.
....@@ -421,7 +418,7 @@
421418 ps2dev->nak = 0;
422419 break;
423420 }
424
- /* Fall through */
421
+ fallthrough;
425422 default:
426423 /*
427424 * Do not signal errors if we get unexpected reply while