From: James Bottomley Date: Sun, 21 Jun 2009 17:11:43 +0000 (-0500) Subject: [SCSI] scsi_transport_fc: replace BUS_ID_SIZE by fixed count X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c559ea8fd003962d9a28c64b2dd5c6d83ca6edb;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [SCSI] scsi_transport_fc: replace BUS_ID_SIZE by fixed count BUS_ID_SIZE is being removed from the kernel. Cc: Kay Sievers Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index 140c50c8a5d2..2eee9e6e4fe8 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/drivers/scsi/scsi_transport_fc.c @@ -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;