Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IB/qib: add missing braces in do_qib_user_sdma_queue_create()
Commit c804f07 moved qib_assign_ctxt() to do_qib_user_sdma_queue_create() but dropped the braces around the statements. This was spotted by coccicheck (coccinelle/spatch): $ make C=2 CHECK=scripts/coccicheck drivers/infiniband/hw/qib/ CHECK drivers/infiniband/hw/qib/qib_file_ops.c drivers/infiniband/hw/qib/qib_file_ops.c:1583:2-23: code aligned with following code on line 1587 This patch adds braces back. Link: http://marc.info/[email protected] Cc: Mike Marciniszyn <[email protected]> Cc: [email protected] Cc: Julia Lawall <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Yann Droneaud <[email protected]> Tested-by: Mike Marciniszyn <[email protected]> Acked-by: Mike Marciniszyn <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
- Loading branch information