[SCSI] Make host_no an unsigned int

Daniel Debonzi reports that he has managed to wrap host_no. Increasing
the number of host numbers available to 32-bit from 16-bit allows the
problem to be evaded for another hundred years.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Matthew Wilcox and committed by
James Bottomley
6d49f63b f27bac27

+1 -1
+1 -1
include/scsi/scsi_host.h
··· 547 unsigned int host_failed; /* commands that failed. */ 548 unsigned int host_eh_scheduled; /* EH scheduled without command */ 549 550 - unsigned short host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */ 551 int resetting; /* if set, it means that last_reset is a valid value */ 552 unsigned long last_reset; 553
··· 547 unsigned int host_failed; /* commands that failed. */ 548 unsigned int host_eh_scheduled; /* EH scheduled without command */ 549 550 + unsigned int host_no; /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */ 551 int resetting; /* if set, it means that last_reset is a valid value */ 552 unsigned long last_reset; 553