]> git.hungrycats.org Git - linux/commit
RDMA/hns: Use complete parentheses in macros
authorChengchang Tang <tangchengchang@huawei.com>
Fri, 12 Apr 2024 09:16:15 +0000 (17:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:43 +0000 (09:49 +0200)
commit7137986302ac6eb74b5c6da1cba501217e10bc11
treee6f2d06a2eeb770a10d37306f3c66b22737bb6e9
parent151762e07935b0ed283ee81a842eda9f5f5c58f1
RDMA/hns: Use complete parentheses in macros

[ Upstream commit 4125269bb9b22e1d8cdf4412c81be8074dbc61ca ]

Use complete parentheses to ensure that macro expansion does
not produce unexpected results.

Fixes: a25d13cbe816 ("RDMA/hns: Add the interfaces to support multi hop addressing for the contexts in hip08")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240412091616.370789-10-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hem.h