]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Convert the macro AHG_HEADER_SET into an inline function
authorHarish Chegondi <harish.chegondi@intel.com>
Tue, 26 Sep 2017 14:00:11 +0000 (07:00 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 15:34:13 +0000 (11:34 -0400)
commit0ca64f79126ab6dabc30f4a71a7faafe0d557f75
tree746cd6a8849c609e4e3fd49f331d91a102bff839
parent8fc646e20f933ecf2def75fa1bec01de6b6c44f2
IB/hfi1: Convert the macro AHG_HEADER_SET into an inline function

AHG_HEADER_SET macro doesn't conform to the coding standards as it can
affect the control flow. Convert the macro AHG_HEADER_SET into an inline
function ahg_header_set().

Cc: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/user_sdma.c
drivers/infiniband/hw/hfi1/user_sdma.h