From owner-svn-src-head@freebsd.org Sun Jun 18 16:43:59 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81D22D89689; Sun, 18 Jun 2017 16:43:59 +0000 (UTC) (envelope-from markj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C51A74777; Sun, 18 Jun 2017 16:43:59 +0000 (UTC) (envelope-from markj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5IGhwG3039480; Sun, 18 Jun 2017 16:43:58 GMT (envelope-from markj@FreeBSD.org) Received: (from markj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5IGhv2Y039469; Sun, 18 Jun 2017 16:43:57 GMT (envelope-from markj@FreeBSD.org) Message-Id: <201706181643.v5IGhv2Y039469@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: markj set sender to markj@FreeBSD.org using -f From: Mark Johnston Date: Sun, 18 Jun 2017 16:43:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320072 - in head/sys: compat/linuxkpi/common/include/linux contrib/rdma/krping ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mthca X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2017 16:43:59 -0000 Author: markj Date: Sun Jun 18 16:43:57 2017 New Revision: 320072 URL: https://svnweb.freebsd.org/changeset/base/320072 Log: Avoid including list.h in LinuxKPI headers. list.h includes a number of FreeBSD headers as a workaround for the LIST_HEAD name collision. To reduce pollution, avoid including list.h in commonly used headers when it is not explicitly needed. Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11249 Modified: head/sys/compat/linuxkpi/common/include/linux/completion.h head/sys/compat/linuxkpi/common/include/linux/kernel.h head/sys/compat/linuxkpi/common/include/linux/kobject.h head/sys/compat/linuxkpi/common/include/linux/mm_types.h head/sys/compat/linuxkpi/common/include/linux/sched.h head/sys/contrib/rdma/krping/krping.c head/sys/ofed/drivers/infiniband/core/fmr_pool.c head/sys/ofed/drivers/infiniband/core/iwcm.c head/sys/ofed/drivers/infiniband/core/umem.c head/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h Modified: head/sys/compat/linuxkpi/common/include/linux/completion.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/completion.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/compat/linuxkpi/common/include/linux/completion.h Sun Jun 18 16:43:57 2017 (r320072) @@ -32,7 +32,6 @@ #define _LINUX_COMPLETION_H_ #include -#include struct completion { unsigned int done; Modified: head/sys/compat/linuxkpi/common/include/linux/kernel.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/kernel.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/compat/linuxkpi/common/include/linux/kernel.h Sun Jun 18 16:43:57 2017 (r320072) @@ -49,7 +49,6 @@ #include #include #include -#include #include #include Modified: head/sys/compat/linuxkpi/common/include/linux/kobject.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/kobject.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/compat/linuxkpi/common/include/linux/kobject.h Sun Jun 18 16:43:57 2017 (r320072) @@ -35,6 +35,7 @@ #include #include +#include #include struct kobject; Modified: head/sys/compat/linuxkpi/common/include/linux/mm_types.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/mm_types.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/compat/linuxkpi/common/include/linux/mm_types.h Sun Jun 18 16:43:57 2017 (r320072) @@ -30,7 +30,6 @@ #define _LINUX_MM_TYPES_H_ #include -#include #include #include Modified: head/sys/compat/linuxkpi/common/include/linux/sched.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/sched.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/compat/linuxkpi/common/include/linux/sched.h Sun Jun 18 16:43:57 2017 (r320072) @@ -37,7 +37,6 @@ #include #include -#include #include #include #include Modified: head/sys/contrib/rdma/krping/krping.c ============================================================================== --- head/sys/contrib/rdma/krping/krping.c Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/contrib/rdma/krping/krping.c Sun Jun 18 16:43:57 2017 (r320072) @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include Modified: head/sys/ofed/drivers/infiniband/core/fmr_pool.c ============================================================================== --- head/sys/ofed/drivers/infiniband/core/fmr_pool.c Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/ofed/drivers/infiniband/core/fmr_pool.c Sun Jun 18 16:43:57 2017 (r320072) @@ -37,6 +37,7 @@ #include #include #include +#include #include Modified: head/sys/ofed/drivers/infiniband/core/iwcm.c ============================================================================== --- head/sys/ofed/drivers/infiniband/core/iwcm.c Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/ofed/drivers/infiniband/core/iwcm.c Sun Jun 18 16:43:57 2017 (r320072) @@ -50,6 +50,7 @@ #include #include #include +#include #include #include Modified: head/sys/ofed/drivers/infiniband/core/umem.c ============================================================================== --- head/sys/ofed/drivers/infiniband/core/umem.c Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/ofed/drivers/infiniband/core/umem.c Sun Jun 18 16:43:57 2017 (r320072) @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include Modified: head/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h ============================================================================== --- head/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h Sun Jun 18 12:59:43 2017 (r320071) +++ head/sys/ofed/drivers/infiniband/hw/mthca/mthca_dev.h Sun Jun 18 16:43:57 2017 (r320072) @@ -45,6 +45,7 @@ #include #include #include +#include #include "mthca_provider.h" #include "mthca_doorbell.h"