linux/drivers/scsi/be2iscsi
Jayamohan Kallickal 8fcfb21073 [SCSI] be2iscsi: Fixing the /proc/interrupts problem V3
Fix be2iscsi driver to use a separate pointer for each irq action->name
field and avoid display corruption in /proc/interrupts. The be2iscsi driver
was using a single static array in a function for the irq action->name field.
This results in garbage output from  /proc/interrupts

The pointer for action->name is garbage and scribbles the output on the screen.

This patch fixes the problem:

156:          0          0          0          0          0          0
0          0          0          0          0          0          0
0          0          0          0          0          0          0
0          0          0          0       PCI-MSI-X  beiscsi_msix_0017

This patch is based on Prarit's patch here:
http://www.spinics.net/lists/linux-scsi/msg52325.html
but I have fixed up the failure paths and removed
redundant check for !i suggested by Eike.

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-08-29 00:16:17 -07:00
..
be.h [SCSI] be2iscsi: change in copyright notice 2011-04-15 16:46:15 -05:00
be_cmds.c [SCSI] be2iscsi: Set a timeout to FW 2011-04-15 16:46:16 -05:00
be_cmds.h [SCSI] be2iscsi: change in copyright notice 2011-04-15 16:46:15 -05:00
be_iscsi.c [SCSI] be2iscsi: remove host and session casts 2011-08-27 08:36:17 -06:00
be_iscsi.h [SCSI] iscsi cls: sysfs group is_visible callout for conn attrs 2011-08-27 08:36:03 -06:00
be_main.c [SCSI] be2iscsi: Fixing the /proc/interrupts problem V3 2011-08-29 00:16:17 -07:00
be_main.h [SCSI] be2iscsi: Fixing the /proc/interrupts problem V3 2011-08-29 00:16:17 -07:00
be_mgmt.c [SCSI] be2iscsi: fix chip cleanup 2011-05-01 16:34:41 -05:00
be_mgmt.h [SCSI] be2iscsi: change in copyright notice 2011-04-15 16:46:15 -05:00
Kconfig [SCSI] be2iscsi: select ISCSI_BOOT_SYSFS 2010-08-06 09:41:59 -05:00
Makefile [SCSI] be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver 2009-10-02 09:50:33 -05:00