From patchwork Fri Sep 28 10:23:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honggang LI X-Patchwork-Id: 10619477 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 507AF6CB for ; Fri, 28 Sep 2018 10:23:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4325C2A4EE for ; Fri, 28 Sep 2018 10:23:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 370DB2B288; Fri, 28 Sep 2018 10:23:40 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 D3C572A4EE for ; Fri, 28 Sep 2018 10:23:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbeI1Qqn (ORCPT ); Fri, 28 Sep 2018 12:46:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60166 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729116AbeI1Qqn (ORCPT ); Fri, 28 Sep 2018 12:46:43 -0400 Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C8C3F317C3F3; Fri, 28 Sep 2018 10:23:38 +0000 (UTC) Received: from lhg.nay.redhat.com (unknown [10.66.129.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C29030A6A8A; Fri, 28 Sep 2018 10:23:37 +0000 (UTC) From: Honggang LI To: hal@dev.mellanox.co.il Cc: linux-rdma@vger.kernel.org, Honggang Li Subject: [opensm patch] cl_vector_copy16/32/64 should be static functions Date: Fri, 28 Sep 2018 18:23:31 +0800 Message-Id: <20180928102331.25631-1-honli@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Fri, 28 Sep 2018 10:23:38 +0000 (UTC) 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: Honggang Li Signed-off-by: Honggang Li --- complib/cl_vector.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/complib/cl_vector.c b/complib/cl_vector.c index f309a098..374dc2e2 100644 --- a/complib/cl_vector.c +++ b/complib/cl_vector.c @@ -118,7 +118,7 @@ static void cl_vector_copy8(OUT void *const p_dest, * None * */ -void cl_vector_copy16(OUT void *const p_dest, +static void cl_vector_copy16(OUT void *const p_dest, IN const void *const p_src, IN const size_t size) { CL_ASSERT(size == sizeof(uint16_t)); @@ -143,7 +143,7 @@ void cl_vector_copy16(OUT void *const p_dest, * None * */ -void cl_vector_copy32(OUT void *const p_dest, +static void cl_vector_copy32(OUT void *const p_dest, IN const void *const p_src, IN const size_t size) { CL_ASSERT(size == sizeof(uint32_t)); @@ -168,7 +168,7 @@ void cl_vector_copy32(OUT void *const p_dest, * None * */ -void cl_vector_copy64(OUT void *const p_dest, +static void cl_vector_copy64(OUT void *const p_dest, IN const void *const p_src, IN const size_t size) { CL_ASSERT(size == sizeof(uint64_t));