hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/scsi/scsi_dh.h
....@@ -1,21 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Header file for SCSI device handler infrastruture.
34 *
45 * Modified version of patches posted by Mike Christie <michaelc@cs.wisc.edu>
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License as published by the
8
- * Free Software Foundation; either version 2 of the License, or (at your
9
- * option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful, but
12
- * WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, write to the Free Software Foundation, Inc.,
18
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
196 *
207 * Copyright IBM Corporation, 2007
218 * Authors:
....@@ -69,7 +56,7 @@
6956 int (*attach)(struct scsi_device *);
7057 void (*detach)(struct scsi_device *);
7158 int (*activate)(struct scsi_device *, activate_complete, void *);
72
- int (*prep_fn)(struct scsi_device *, struct request *);
59
+ blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
7360 int (*set_params)(struct scsi_device *, const char *);
7461 void (*rescan)(struct scsi_device *);
7562 };