IB/hfi1: Move constant to the right in bitwise operations
authorHarish Chegondi <harish.chegondi@intel.com>
Sat, 5 Mar 2016 16:49:29 +0000 (08:49 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Mar 2016 19:55:12 +0000 (15:55 -0400)
commitbf640096e670a35e3a7ba1336216664f89a2bcf1
tree7c1a12219e8f1973bde36e7a1e7edbdeb8ce0cfc
parent42d6ec19c918cb5bc6d14769e24240dce8f81687
IB/hfi1: Move constant to the right in bitwise operations

Implement changes recommended by the Coccinelle tool to move constant to
the right in bitwise operations

-bash-4.2$ make coccicheck MODE=report M=drivers/infiniband/hw/hfi1/

drivers/infiniband/hw/hfi1/pio.c:765:4-16: Move constant to right.
drivers/infiniband/hw/hfi1/rc.c:2503:19-29: Move constant to right.
drivers/infiniband/hw/hfi1/chip.c:9813:11-22: Move constant to right.
drivers/infiniband/hw/hfi1/chip.c:14468:29-40: Move constant to right.

Reviewed-by: Jubin John <jubin.john@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/pio.c
drivers/staging/rdma/hfi1/rc.c