From owner-svn-src-stable@FreeBSD.ORG Sun Jan 11 14:30:51 2015 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C05A9A31; Sun, 11 Jan 2015 14:30:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 AA02799E; Sun, 11 Jan 2015 14:30:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0BEUpZ4056410; Sun, 11 Jan 2015 14:30:51 GMT (envelope-from hselasky@FreeBSD.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0BEUol6056405; Sun, 11 Jan 2015 14:30:50 GMT (envelope-from hselasky@FreeBSD.org) Message-Id: <201501111430.t0BEUol6056405@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hselasky set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky Date: Sun, 11 Jan 2015 14:30:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r276977 - in stable/9/contrib/ofed: management/opensm/osmtest usr.bin usr.bin/osmtest usr.lib X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2015 14:30:52 -0000 Author: hselasky Date: Sun Jan 11 14:30:50 2015 New Revision: 276977 URL: https://svnweb.freebsd.org/changeset/base/276977 Log: MFC r276823: Add makefile for the "osmtest" utility. While at it: - Fix depend target by removing a space after an "-I" inclusion option. - Fix some minor compile issues in the "osmtest" utility. PR: 196580 Sponsored by: Mellanox Technologies Added: stable/9/contrib/ofed/usr.bin/osmtest/ - copied from r276823, head/contrib/ofed/usr.bin/osmtest/ Modified: stable/9/contrib/ofed/management/opensm/osmtest/osmt_multicast.c stable/9/contrib/ofed/management/opensm/osmtest/osmtest.c stable/9/contrib/ofed/usr.bin/Makefile stable/9/contrib/ofed/usr.lib/Makefile Directory Properties: stable/9/contrib/ (props changed) Modified: stable/9/contrib/ofed/management/opensm/osmtest/osmt_multicast.c ============================================================================== --- stable/9/contrib/ofed/management/opensm/osmtest/osmt_multicast.c Sun Jan 11 14:22:00 2015 (r276976) +++ stable/9/contrib/ofed/management/opensm/osmtest/osmt_multicast.c Sun Jan 11 14:30:50 2015 (r276977) @@ -42,6 +42,7 @@ #ifndef __WIN__ #include #endif +#include #include #include #include Modified: stable/9/contrib/ofed/management/opensm/osmtest/osmtest.c ============================================================================== --- stable/9/contrib/ofed/management/opensm/osmtest/osmtest.c Sun Jan 11 14:22:00 2015 (r276976) +++ stable/9/contrib/ofed/management/opensm/osmtest/osmtest.c Sun Jan 11 14:30:50 2015 (r276977) @@ -3013,7 +3013,7 @@ Exit: /********************************************************************** **********************************************************************/ -inline uint32_t osmtest_path_rec_key_get(IN const ib_path_rec_t * const p_rec) +static inline uint32_t osmtest_path_rec_key_get(IN const ib_path_rec_t * const p_rec) { return (p_rec->dlid << 16 | p_rec->slid); } Modified: stable/9/contrib/ofed/usr.bin/Makefile ============================================================================== --- stable/9/contrib/ofed/usr.bin/Makefile Sun Jan 11 14:22:00 2015 (r276976) +++ stable/9/contrib/ofed/usr.bin/Makefile Sun Jan 11 14:30:50 2015 (r276977) @@ -1,7 +1,7 @@ .include -SUBDIR = ibaddr ibnetdiscover ibping ibportstate ibroute ibsendtrap ibstat -SUBDIR += ibsysstat ibtracert opensm perfquery saquery -SUBDIR += sminfo smpdump smpquery vendstat +SUBDIR= ibaddr ibnetdiscover ibping ibportstate ibroute ibsendtrap ibstat \ + ibsysstat ibtracert opensm perfquery saquery \ + sminfo smpdump smpquery vendstat .include Modified: stable/9/contrib/ofed/usr.lib/Makefile ============================================================================== --- stable/9/contrib/ofed/usr.lib/Makefile Sun Jan 11 14:22:00 2015 (r276976) +++ stable/9/contrib/ofed/usr.lib/Makefile Sun Jan 11 14:30:50 2015 (r276977) @@ -1,6 +1,6 @@ .include -SUBDIR = libibcommon libibmad libibumad libibverbs libmlx4 libmthca -SUBDIR += libopensm libosmcomp libosmvendor libibcm librdmacm libsdp +SUBDIR= libibcommon libibmad libibumad libibverbs libmlx4 libmthca \ + libopensm libosmcomp libosmvendor libibcm librdmacm libsdp .include