From patchwork Thu May 14 16:04:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 6407211 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 759FDC0432 for ; Thu, 14 May 2015 16:04:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A49D420462 for ; Thu, 14 May 2015 16:04:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9117120437 for ; Thu, 14 May 2015 16:04:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 20C5E6E376; Thu, 14 May 2015 09:04:36 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by gabe.freedesktop.org (Postfix) with ESMTP id E3B086E376 for ; Thu, 14 May 2015 09:04:34 -0700 (PDT) Received: by wicmx19 with SMTP id mx19so22762315wic.0 for ; Thu, 14 May 2015 09:04:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=90g5olxIMl0HwHfifhU7/Z3qoWgIzyNgxF88+XT2MF4=; b=gZ4/+Vm4itLq1VDRMy3KbjOwRvZk5bEONfIRaMLlDnWxW7zzmwuyPHw/hbRswakprJ EQ1Lqd3YjcjSARK7z6MEbxKEWWnz4QL8Qhb8X9cUFT5IMMQzUyHEjSss+75DabLEVf3x cl+Fiv/nk9xqDo1Ua7+Dd6K8OldD9A+JsytJhs9xiSN7V+Gzr6hfhN2R28Fie5opWHkE RdUUwO3Hmf6Qmmz4owBdYWHfMR3VqHCeuuNCTcfH1gcs1wlCNQSaKLttdDETrrZPBnha H6Bf1XsglLl2eNVz107t+ozjreJZxv+egCEDXJfqEYCV1JrXQYGR/8lYyXOIMM6oFvpK 3Yzg== X-Gm-Message-State: ALoCoQkRLcRoVhVfeDUpSzBB5g07jfiYd9lLy5xWJ93gJNqOs4QfVFrVgATKskG1GB8qVL1nZknI X-Received: by 10.180.12.228 with SMTP id b4mr48803836wic.92.1431619474252; Thu, 14 May 2015 09:04:34 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id ew15sm13678613wjd.17.2015.05.14.09.04.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:04:33 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Thu, 14 May 2015 17:04:26 +0100 Message-Id: <1431619466-3914-3-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1431619466-3914-1-git-send-email-thomas.wood@intel.com> References: <1431619466-3914-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 3/3] tests: match gem_create prototype in igt_eviction_test_ops create function X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This avoids a warning when using gem_create as the create function. Signed-off-by: Thomas Wood --- tests/eviction_common.c | 2 +- tests/gem_userptr_blits.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/eviction_common.c b/tests/eviction_common.c index 6f2f194..91c5acf 100644 --- a/tests/eviction_common.c +++ b/tests/eviction_common.c @@ -34,7 +34,7 @@ struct igt_eviction_test_ops { - uint32_t (*create)(int fd, int size); + uint32_t (*create)(int fd, uint64_t size); void (*flink)(uint32_t old_handle, uint32_t new_handle); void (*close)(int fd, uint32_t bo); int (*copy)(int fd, uint32_t dst, uint32_t src, diff --git a/tests/gem_userptr_blits.c b/tests/gem_userptr_blits.c index 41d5769..1f2cc96 100644 --- a/tests/gem_userptr_blits.c +++ b/tests/gem_userptr_blits.c @@ -362,7 +362,7 @@ static void free_handle_ptr(uint32_t handle) handle_ptr_map[handle] = NULL; } -static uint32_t create_userptr_bo(int fd, int size) +static uint32_t create_userptr_bo(int fd, uint64_t size) { void *ptr; uint32_t handle;