forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/scsi/cxlflash/common.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * CXL Flash Device Driver
34 *
....@@ -5,11 +6,6 @@
56 * Matthew R. Ochs <mrochs@linux.vnet.ibm.com>, IBM Corporation
67 *
78 * Copyright (C) 2015 IBM Corporation
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License
11
- * as published by the Free Software Foundation; either version
12
- * 2 of the License, or (at your option) any later version.
139 */
1410
1511 #ifndef _CXLFLASH_COMMON_H
....@@ -334,7 +330,8 @@
334330 void cxlflash_list_init(void);
335331 void cxlflash_term_global_luns(void);
336332 void cxlflash_free_errpage(void);
337
-int cxlflash_ioctl(struct scsi_device *sdev, int cmd, void __user *arg);
333
+int cxlflash_ioctl(struct scsi_device *sdev, unsigned int cmd,
334
+ void __user *arg);
338335 void cxlflash_stop_term_user_contexts(struct cxlflash_cfg *cfg);
339336 int cxlflash_mark_contexts_error(struct cxlflash_cfg *cfg);
340337 void cxlflash_term_local_luns(struct cxlflash_cfg *cfg);