diff options
author | Lang Cheng <chenglang@huawei.com> | 2021-04-02 17:07:34 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-08 16:08:22 -0300 |
commit | 69455df04e12334a51b8e80569cb3dfe4de57373 (patch) | |
tree | 5ca04c16441a96e0b2ad8a2ca0ced24bd9824c2b /include/linux/pci.h | |
parent | 782832f25404b03de1aa745fe9c26d373dc1198a (diff) |
RDMA/hns: Prevent le32 from being implicitly converted to u32
Replace BUILD_BUG_ON_ZERO() with BUILD_BUG_ON() to avoid sparse
complaining "restricted __le32 degrades to integer".
Link: https://lore.kernel.org/r/1617354454-47840-10-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions