forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/scsi/sym53c8xx_2/sym_fw.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Device driver for the SYMBIOS/LSILOGIC 53C8XX and 53C1010 family
34 * of PCI-SCSI IO processors.
....@@ -21,20 +22,6 @@
2122 * Copyright (C) 1997 Richard Waltham <dormouse@farsrobt.demon.co.uk>
2223 *
2324 *-----------------------------------------------------------------------------
24
- *
25
- * This program is free software; you can redistribute it and/or modify
26
- * it under the terms of the GNU General Public License as published by
27
- * the Free Software Foundation; either version 2 of the License, or
28
- * (at your option) any later version.
29
- *
30
- * This program is distributed in the hope that it will be useful,
31
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
32
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33
- * GNU General Public License for more details.
34
- *
35
- * You should have received a copy of the GNU General Public License
36
- * along with this program; if not, write to the Free Software
37
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3825 */
3926
4027 #include "sym_glue.h"
....@@ -382,7 +369,7 @@
382369 sym_name(np), (int) (cur-start));
383370 ++cur;
384371 continue;
385
- };
372
+ }
386373
387374 /*
388375 * We use the bogus value 0xf00ff00f ;-)
....@@ -490,7 +477,7 @@
490477 default:
491478 relocs = 0;
492479 break;
493
- };
480
+ }
494481
495482 /*
496483 * Scriptify:) the opcode.
....@@ -536,7 +523,7 @@
536523 new = old;
537524 break;
538525 }
539
- /* fall through */
526
+ fallthrough;
540527 default:
541528 new = 0;
542529 panic("sym_fw_bind_script: "
....@@ -546,5 +533,5 @@
546533
547534 *cur++ = cpu_to_scr(new);
548535 }
549
- };
536
+ }
550537 }