From patchwork Sun Mar 10 13:12:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ghennadi Procopciuc X-Patchwork-Id: 2246921 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 552D23FCF6 for ; Mon, 11 Mar 2013 06:35:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A5E7E61D4 for ; Sun, 10 Mar 2013 23:35:59 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 3549DE5C80 for ; Sun, 10 Mar 2013 06:12:16 -0700 (PDT) Received: by mail-we0-f171.google.com with SMTP id u54so2664298wey.16 for ; Sun, 10 Mar 2013 06:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=TNHGA4eP2lP4qfXNSkm/4rC/+/DkKJwjxSO34hWHeQ4=; b=dWJMvXAdEjx1vhIc7g7sTZzOQCz26wxwO6eFz/+FGWQX2INXzsAg5kS9R+xb/zUwdd yqS3qNnWDzxNuMiqkMhnDTHvwUhPydgLaCJUPRSY3rVTROttCJDBzvRmBduGAfmiFZk2 cjymemdceihpb2xnBojO743+UEYr51jaPrN7AB4Je7sMVdtkmHevIUlojpyn0WRlO+3Q Y/cRWZpYJKP6bcDzaMdcru/qQbL4+ghyF+1cJjs1x20iPoEkwmCZNvlzjns6zoDWPfoK 6kF2uEn5XceCplvjXzinloEEULacuxrsRLvGbPlejVewE1qZssa0tuQKoSBHkucwtc5v hraQ== X-Received: by 10.194.242.197 with SMTP id ws5mr13679359wjc.44.1362921134963; Sun, 10 Mar 2013 06:12:14 -0700 (PDT) Received: from mjolnir.labs.cs.pub.ro ([141.85.225.204]) by mx.google.com with ESMTPS id du2sm9578253wib.0.2013.03.10.06.12.13 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Mar 2013 06:12:14 -0700 (PDT) From: Ghennadi Procopciuc To: airlied@linux.ie Subject: [PATCH] gpu: make 'vmw_event_fence_action_create' static Date: Sun, 10 Mar 2013 15:12:06 +0200 Message-Id: <1362921126-685-1-git-send-email-ghennadi.procopciuc1@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-Mailman-Approved-At: Sun, 10 Mar 2013 23:27:57 -0700 Cc: unix140@gmail.com, Ghennadi Procopciuc , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, dhowells@redhat.com, davej@redhat.com, airlied@redhat.com, paulmck@linux.vnet.ibm.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org This fixes the following checkpatch warning : drivers/gpu/drm/vmwgfx/vmwgfx_fence.c:996:5: warning: symbol 'vmw_event_fence_action_create' was not declared. Should it be static? Signed-off-by: Ghennadi Procopciuc --- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c index c62d20e..e0846e6 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c @@ -952,7 +952,7 @@ void vmw_fence_obj_add_action(struct vmw_fence_obj *fence, * an error code, the caller needs to free that object. */ -int vmw_event_fence_action_queue(struct drm_file *file_priv, +static int vmw_event_fence_action_queue(struct drm_file *file_priv, struct vmw_fence_obj *fence, struct drm_pending_event *event, uint32_t *tv_sec,