[Ubuntu PATCH] lpfc: Add missing proc_name entry to scsi_host_table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[UBUNTU:drivers/scsi/lpfc] Add missing proc_name entry to scsi_host_table.

http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=8e3174d462c06d45138ff7a9a25667a7347ff5ab

According to a few people, the scsi proc interface should die, but sysfs
still uses some proc_* entries from scsi_host_table.

The Emulex driver needs to export at least proc_name.

Signed-off-by: Fabio M. Di Nitto <fabbione@xxxxxxxxxx>
---
drivers/scsi/lpfc/lpfc_scsi.c |    1 +
1 files changed, 1 insertion(+)

--- linux-2617-rc6g7.orig/drivers/scsi/lpfc/lpfc_scsi.c
+++ linux-2617-rc6g7/drivers/scsi/lpfc/lpfc_scsi.c
@@ -1269,6 +1269,7 @@ struct scsi_host_template lpfc_template .slave_alloc = lpfc_slave_alloc,
	.slave_configure	= lpfc_slave_configure,
	.slave_destroy		= lpfc_slave_destroy,
+	.proc_name		= "lpfc",
	.this_id		= -1,
	.sg_tablesize		= LPFC_SG_SEG_CNT,
	.cmd_per_lun		= LPFC_CMD_PER_LUN,

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux