From patchwork Fri Feb 9 03:08:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10208229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4CA8060247 for ; Fri, 9 Feb 2018 03:09:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AB6529680 for ; Fri, 9 Feb 2018 03:09:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F84729684; Fri, 9 Feb 2018 03:09:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE8AF29680 for ; Fri, 9 Feb 2018 03:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752498AbeBIDJW (ORCPT ); Thu, 8 Feb 2018 22:09:22 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:44780 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752517AbeBIDJQ (ORCPT ); Thu, 8 Feb 2018 22:09:16 -0500 Received: by mail-io0-f195.google.com with SMTP id z6so8161494iob.11 for ; Thu, 08 Feb 2018 19:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8ir3ySbaaLV1t/vgEmrUIfek+TtukoGBFWcfS2EP/pw=; b=R/FHzdDA/ecvJuF3zbtUKRSeSAXkYq6smGGEaHGnh64MCWPWtH/Isk4BNiNEsYR3bE +1v8+kJo/1aGSDZXKERZquYuCxXEnZba8kxipcJedOuVkAtxi2d0Wa0pr6m8M28ZeoBW xKORyMSgi5I80yDLJFK9ihFy2NIgo45xcS2/DzYIDsmPMllgJdA/6OBTDPcYfF6xRlpM YwfJ3loSGcUBTIus44aspxJkZlsAarNrwhhcpyowl8iZNAPISz/NGAljksIBeGdyy02Y p71daU7VpDiPgsUIiQDc6w8ynZCvEggpXY2TdhkmMmsrr8hXLD93yBjb1iWzjBKhZ6jH KzEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8ir3ySbaaLV1t/vgEmrUIfek+TtukoGBFWcfS2EP/pw=; b=uWMGQWwlW9ShyLZNCmx7YG7NT1cR7PKkqTwiqN2kTo58W30E+KeO2JomB9E5iacLUz aL6Br9useIk4RkSfqunLYwwac7STYHCJW6dBrzrmcBUhzs0XLpiAzEwiKBl+4Y2N7YTr e9hxSiK06NXtnzy9ExsTMY2d6xufIWLWzjPwFDuS3AogqC7GxecuwR6GrJj4Ri+1KsFi jFK4UTN2JUm+n4cBBd9u+JITF11qyX4Bcyl3TZW9kUiQn6CPbCWRv6h1N7lB4BkeVh7t NvvsDd+bCiB11HB1X4/3/Tvkf1eXgg0UBQ1Spb1qDT2E7yYxRhM5TafVS5ivel0CHXA7 Gw1w== X-Gm-Message-State: APf1xPAfgtSxtJrEOKXpXYqFDWicMligz/1zDU5grkpcrWFJJQkDO97h gQTS35dt7tW+JJd1uzAnGF+kAQd0dfE= X-Google-Smtp-Source: AH8x2266vgQK4xnUh+e4IrGZ6XRCX/CsBB46TK+7UUIGVmga47SAA/x14Uk8P65ZsZrtOrUmWsDntA== X-Received: by 10.107.147.3 with SMTP id v3mr1550004iod.78.1518145755983; Thu, 08 Feb 2018 19:09:15 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id s69sm1218332ita.29.2018.02.08.19.09.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 19:09:11 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1ejz3m-0005pu-4g; Thu, 08 Feb 2018 20:09:10 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 1/7] verbs: Do not export kern-abi.h as a public header Date: Thu, 8 Feb 2018 20:08:58 -0700 Message-Id: <20180209030904.22370-2-jgg@ziepe.ca> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180209030904.22370-1-jgg@ziepe.ca> References: <20180209030904.22370-1-jgg@ziepe.ca> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe After all the rework to use the kernel headers directly kern-abi.h is no longer includable by the user (as it relies on a very new kernel header) and does not have the same content as before. Stop exporting it as a public header. There is no reason for any user to have been using this header, if someone was using it then they need to migrate to the kernel header now. Signed-off-by: Jason Gunthorpe --- debian/libibverbs-dev.install | 1 - libibverbs/CMakeLists.txt | 2 +- librdmacm/rdma_cma_abi.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/libibverbs-dev.install b/debian/libibverbs-dev.install index 28995381073186..1bf56dad423a46 100644 --- a/debian/libibverbs-dev.install +++ b/debian/libibverbs-dev.install @@ -1,5 +1,4 @@ usr/include/infiniband/arch.h -usr/include/infiniband/kern-abi.h usr/include/infiniband/mlx4dv.h usr/include/infiniband/mlx5dv.h usr/include/infiniband/opcode.h diff --git a/libibverbs/CMakeLists.txt b/libibverbs/CMakeLists.txt index 6b41b875210cfb..464e074e7df2ba 100644 --- a/libibverbs/CMakeLists.txt +++ b/libibverbs/CMakeLists.txt @@ -1,6 +1,5 @@ publish_headers(infiniband arch.h - kern-abi.h opcode.h sa-kern-abi.h sa.h @@ -10,6 +9,7 @@ publish_headers(infiniband publish_internal_headers(infiniband driver.h + kern-abi.h marshall.h ) diff --git a/librdmacm/rdma_cma_abi.h b/librdmacm/rdma_cma_abi.h index 0ebdad96ec484a..ab4adb00d88280 100644 --- a/librdmacm/rdma_cma_abi.h +++ b/librdmacm/rdma_cma_abi.h @@ -33,8 +33,8 @@ #ifndef RDMA_CMA_ABI_H #define RDMA_CMA_ABI_H -#include #include +#include #include #include