IB/hfi1: Add missing error code assignment before test
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Wed, 10 Aug 2016 05:34:27 +0000 (07:34 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 22 Aug 2016 18:31:43 +0000 (14:31 -0400)
commit57bb562ad4651453c9f20d506a65e46e4d11042f
treee402f54b616117b6c2413ff15e571b9088149083
parent476d95bd02240894806ebe64f1c4dcf6dbba87f4
IB/hfi1: Add missing error code assignment before test

It is likely that checking the result of 'setup_ctxt' is expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/file_ops.c