File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ EXPORT_SYMBOL(scsi_host_alloc);
537
537
static int __scsi_host_match (struct device * dev , const void * data )
538
538
{
539
539
struct Scsi_Host * p ;
540
- const unsigned short * hostnum = data ;
540
+ const unsigned int * hostnum = data ;
541
541
542
542
p = class_to_shost (dev );
543
543
return p -> host_no == * hostnum ;
@@ -554,7 +554,7 @@ static int __scsi_host_match(struct device *dev, const void *data)
554
554
* that scsi_host_get() took. The put_device() below dropped
555
555
* the reference from class_find_device().
556
556
**/
557
- struct Scsi_Host * scsi_host_lookup (unsigned short hostnum )
557
+ struct Scsi_Host * scsi_host_lookup (unsigned int hostnum )
558
558
{
559
559
struct device * cdev ;
560
560
struct Scsi_Host * shost = NULL ;
Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ extern void scsi_remove_host(struct Scsi_Host *);
769
769
extern struct Scsi_Host * scsi_host_get (struct Scsi_Host * );
770
770
extern int scsi_host_busy (struct Scsi_Host * shost );
771
771
extern void scsi_host_put (struct Scsi_Host * t );
772
- extern struct Scsi_Host * scsi_host_lookup (unsigned short );
772
+ extern struct Scsi_Host * scsi_host_lookup (unsigned int hostnum );
773
773
extern const char * scsi_host_state_name (enum scsi_host_state );
774
774
extern void scsi_host_complete_all_commands (struct Scsi_Host * shost ,
775
775
enum scsi_host_status status );
You can’t perform that action at this time.
0 commit comments