Linux 5.15-rc3

From: Sedat Dilek
Date: Mon Sep 27 2021 - 16:49:22 EST


[ Please CC me I am not subscribed to LKML and linux-rdma ]

Hi,

with CONFIG_INFINIBAND_QIB=m I observe a build-error since Linux
v5.13-rc1 release.
This is with LLVM/Clang >= v13.0.0-rc3 on my Debian/unstable AMD64 system.

For details see ClangBuiltLinux issue #1452 (see [1]).

The fix is pending in rdma.git#for-rc (see [2]):

commit 3110b942d36b961858664486d72f815d78c956c3
"IB/qib: Fix clang confusion of NULL pointer comparison"

Dunno if there was a pull-request from linux-rdma folks.
Cannot say if it is worth taking this directly...?

Just want to let you know.

Regards,
- Sedat -

P.S.: My kernel-config is attached.

[0] https://marc.info/?l=linux-kernel&m=163269130729304&w=2
[1] https://github.com/ClangBuiltLinux/linux/issues/1452
[2] https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=for-rc&id=3110b942d36b961858664486d72f815d78c956c3

Attachment: config-5.15.0-rc3-1-amd64-clang13-lto
Description: Binary data