]> 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)
commit1cc880b798b528eac0d6492a85d10553e8e24f1a
tree746cd6a8849c609e4e3fd49f331d91a102bff839
parent763680cc296d682c43692e9edc130119bdfb18e1
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