Re: [PATCH rdma-core] Ensure all public headers compile in C++ mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Le 28/02/2018 à 19:30, Jason Gunthorpe a écrit :
> Have check-build run them through the c++ compiler to make sure they
> have no compilation issues, and very roughly check that headers have
> the required extern "C".
>
> Fix all public headers missing the extern "C"
>
> This fixes compilation of user applications in C++ mode that use these
> headers.
>
> Fixes: 5160e25267ee ("mlx4: Add mlx4 direct verbs")
> Fixes: a2ddaca1dd75 ("mlx5: Add mlx5 direct verbs")
> Cc: stable@xxxxxxxxxxxxxx
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  buildlib/check-build                | 28 ++++++++++++++++++++++++++--
>  ibacm/include/infiniband/acm.h      |  8 ++++++++
>  ibacm/include/infiniband/acm_prov.h |  8 ++++++++
>  providers/mlx4/mlx4dv.h             |  9 +++++++++
>  providers/mlx5/mlx5dv.h             |  8 ++++++++
>  5 files changed, 59 insertions(+), 2 deletions(-)
>
> Nicholas, this should got to all the stables, but you can just drop the
> change to check-build when doing it.

Applied to stable-v17 as is.
Applied to stable-v1[56] without the check-build change.

Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux