[SCSI] scsi_transport_fc: replace BUS_ID_SIZE by fixed count
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 17:11:43 +0000 (12:11 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 17:11:43 +0000 (12:11 -0500)
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>
drivers/scsi/scsi_transport_fc.c

index 140c50c..2eee9e6 100644 (file)
@@ -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;