[SCSI] bfa: Replace bfa_get_attr() with specific APIs
authorKrishna Gudipati <kgudipat@brocade.com>
Sat, 6 Mar 2010 03:37:57 +0000 (19:37 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 7 Mar 2010 07:37:00 +0000 (13:07 +0530)
commit0a4b1fc0b24fc7adbaf8413f2992ce1395991a78
tree9a07aeee614e2e3f3191aee552effc467163fb33
parentf58e9ebbf78bd36c6cf1ca651280d39efe73a7c0
[SCSI] bfa: Replace bfa_get_attr() with specific APIs

bfa_ioc_attr_s is a big structure and some times could cause
stack overflow if defined locally, so add specific APIs that
are needed to replace the use of ioc_attr local var.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
15 files changed:
drivers/scsi/bfa/bfa_fcport.c
drivers/scsi/bfa/bfa_fcs_lport.c
drivers/scsi/bfa/bfa_ioc.c
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/bfa/bfa_lps.c
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_attr.c
drivers/scsi/bfa/bfad_drv.h
drivers/scsi/bfa/bfad_im.c
drivers/scsi/bfa/fabric.c
drivers/scsi/bfa/fcpim.c
drivers/scsi/bfa/include/bfa.h
drivers/scsi/bfa/include/cs/bfa_log.h
drivers/scsi/bfa/rport.c
drivers/scsi/bfa/vport.c