IB/hfi1: fix sdma_descq_cnt parameter parsing
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 15 Sep 2015 14:19:27 +0000 (10:19 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Sep 2015 15:28:47 +0000 (11:28 -0400)
commitaeef010a0f63ad0a6f993d3da30753e9a8a39ec5
tree29e8344814e2bc1cf80d0823c328472f25020616
parente1df0068a24ba56673183cc3bd392d8bc301d423
IB/hfi1: fix sdma_descq_cnt parameter parsing

The boolean tests should have been or-ed.

Reported-by: David Binderman <dcb314@hotmail.com>
Reviewed-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/sdma.c