android_kernel_xiaomi_sm8350/drivers/scsi/bfa
Krishna Gudipati 7873ca4e44 [SCSI] bfa: fix system crash when reading sysfs fc_host statistics
The port data structure related to fc_host statistics collection is
not initialized. This causes system crash when reading the fc_host
statistics. The fix is to initialize port structure during driver
attach.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-25 10:05:40 -05:00
..
include Merge branch 'master' into for-next 2010-04-23 02:08:44 +02:00
bfa_callback_priv.h
bfa_cb_ioim_macros.h [SCSI] bfa: fix the issue of not handling scsi_cmnd sg chaining case 2010-04-11 09:24:17 -05:00
bfa_cee.c
bfa_core.c [SCSI] bfa: fix system crash when reading sysfs fc_host statistics 2010-05-25 10:05:40 -05:00
bfa_csdebug.c
bfa_fcpim_priv.h
bfa_fcpim.c
bfa_fcport.c [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
bfa_fcs_lport.c [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30
bfa_fcs_port.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_fcs_uf.c [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
bfa_fcs.c [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
bfa_fcxp_priv.h
bfa_fcxp.c
bfa_fwimg_priv.h
bfa_hw_cb.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_hw_ct.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_intr_priv.h
bfa_intr.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_ioc_cb.c [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
bfa_ioc_ct.c [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
bfa_ioc.c [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30
bfa_ioc.h [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30
bfa_iocfc_q.c
bfa_iocfc.c [SCSI] bfa: IOC fixes, check for IOC down condition. 2010-03-07 13:03:50 +05:30
bfa_iocfc.h [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_ioim.c [SCSI] bfa: sg addr big endian fix 2010-04-11 09:24:23 -05:00
bfa_itnim.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
bfa_log_module.c
bfa_log.c
bfa_lps_priv.h
bfa_lps.c [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30
bfa_module.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_modules_priv.h [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_os_inc.h [SCSI] bfa: fix compilation warning in powerpc 2010-05-01 14:12:11 -05:00
bfa_port_priv.h [SCSI] bfa: Modified the portstats get/clear logic 2010-03-07 13:10:13 +05:30
bfa_port.c
bfa_priv.h [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_rport_priv.h
bfa_rport.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
bfa_sgpg_priv.h
bfa_sgpg.c
bfa_sm.c
bfa_timer.c
bfa_trcmod_priv.h [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_tskim.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
bfa_uf_priv.h
bfa_uf.c
bfad_attr.c [SCSI] bfa: add fc transport class based vport create/delete 2010-04-11 09:24:16 -05:00
bfad_attr.h [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
bfad_drv.h [SCSI] bfa: protect idr using bfad_mutex 2010-04-11 09:24:20 -05:00
bfad_fwimg.c
bfad_im_compat.h
bfad_im.c [SCSI] bfa: protect idr using bfad_mutex 2010-04-11 09:24:20 -05:00
bfad_im.h [SCSI] bfa: add fc transport class based vport create/delete 2010-04-11 09:24:16 -05:00
bfad_intr.c [SCSI] bfa: Added separate MSI-X module parameters. 2010-03-04 15:29:46 +05:30
bfad_ipfc.h
bfad_os.c
bfad_tm.h
bfad_trcmod.h
bfad.c [SCSI] bfa: protect idr using bfad_mutex 2010-04-11 09:24:20 -05:00
fab.c
fabric.c [SCSI] bfa: FCS and include file changes. 2010-03-07 13:12:04 +05:30
fcbuild.c
fcbuild.h [SCSI] bfa: FCS and include file changes. 2010-03-07 13:12:04 +05:30
fcpim.c [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
fcptm.c
fcs_auth.h
fcs_fabric.h [SCSI] bfa: FCS authentication related changes. 2010-03-07 12:58:41 +05:30
fcs_fcpim.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_fcptm.h
fcs_fcxp.h
fcs_lport.h [SCSI] bfa: Resume BFA operations after firmware mismatch is resolved. 2010-03-04 16:17:02 +05:30
fcs_ms.h
fcs_port.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_rport.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_trcmod.h
fcs_uf.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_vport.h [SCSI] bfa: Fix to allow creation of only 190 vports on CNA. 2010-03-04 16:15:24 +05:30
fcs.h
fdmi.c [SCSI] bfa: FCS and include file changes. 2010-03-07 13:12:04 +05:30
loop.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
lport_api.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
lport_priv.h
Makefile [SCSI] bfa: IOC changes: Support faster recovery and split bfa_ioc.c into ASIC specific code. 2010-03-07 12:49:48 +05:30
ms.c [SCSI] bfa: FCS and include file changes. 2010-03-07 13:12:04 +05:30
n2n.c
ns.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
plog.c
rport_api.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
rport_ftrs.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
rport.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
scn.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
vfapi.c
vport.c [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30