[SCSI] bnx2fc: Bug fixes in percpu_thread_create/destroy
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 5 Aug 2011 00:38:36 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:35:25 +0000 (08:35 -0600)
commit3224876358a37f6e531dd5c7f7f002106ef328fc
tree44e104af0321e29f2bf7478dc0f26cf31d202f73
parent627e628f6662550455e57466148d03f354ecdd3b
[SCSI] bnx2fc: Bug fixes in percpu_thread_create/destroy

Look up p->work_list to process cq completions, and correct the error check for
thread creation.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c