[SCSI] bfa: Move debugfs initialization before bfa init.
authorKrishna Gudipati <kgudipat@brocade.com>
Thu, 14 Apr 2011 23:50:35 +0000 (16:50 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 15:55:56 +0000 (10:55 -0500)
commit7c38c05b3ef1a8a9f7e0416072a8ea2730841c91
tree673a2620a7e933b8d177734f7339d7ec87394e4d
parent61338a0b3493fddfca2980ece4423839748fcbab
[SCSI] bfa: Move debugfs initialization before bfa init.

Move the initialization of debugfs before bfa init, to enable us to
collect driver/firmware traces if init fails.  Also add a printk to
display message on bfa_init failure.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_debugfs.c