]> git.ipfire.org Git - thirdparty/kernel/stable.git/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>
Sun, 16 Jun 2024 11:39:31 +0000 (13:39 +0200)
commit4d5b155cd4957c7f7e3649a46b1dd0416fb3fcbe
treeeb490e3df95a29cd40f6f2a18788a727fe4755e6
parentfc6342d4f0829cd54a4dad1b15bef733ade8e567
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