mirror of https://gitee.com/openkylin/linux.git
[SCSI] scsi_transport_fc: replace BUS_ID_SIZE by fixed count
BUS_ID_SIZE is being removed from the kernel. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
b391277a56
commit
3c559ea8fd
|
@ -3861,7 +3861,7 @@ fc_bsg_hostadd(struct Scsi_Host *shost, struct fc_host_attrs *fc_host)
|
|||
struct fc_internal *i = to_fc_internal(shost->transportt);
|
||||
struct request_queue *q;
|
||||
int err;
|
||||
char bsg_name[BUS_ID_SIZE]; /*20*/
|
||||
char bsg_name[20];
|
||||
|
||||
fc_host->rqst_q = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue