From patchwork Thu Jan 12 14:21:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9514465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7B766607D2 for ; Fri, 13 Jan 2017 00:41:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8646C286A7 for ; Fri, 13 Jan 2017 00:41:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AD6F28713; Fri, 13 Jan 2017 00:41:04 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 003352870A for ; Fri, 13 Jan 2017 00:41:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0149B6ED03; Fri, 13 Jan 2017 00:40:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id A8D476E41E for ; Thu, 12 Jan 2017 14:22:08 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id 127so3778735pfg.0 for ; Thu, 12 Jan 2017 06:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8Gtg42ESWPaNgEP/iLV328EDZv8g9/6LFiPBb5hm6ko=; b=TqRffNhDn0Icsff4DZPrs0FCogNlZ78U4JgszVh/EA9tzq0OuqDkWuab0Da8bEfnoI fFpeep0jFgjZ1C8YihNeWcA++flzVK778NgNPz9Tr00CKcyqkOHX8yYf+AbE9Ugwz78Y j5oTpkUeIwbZUR5ttOEJxtVquHkTuxOxldWLaWLVxFVOmcZw0tZZjEZbMy1DH0a4jlVk P5FddXJ2pDQN7DDtaGfEi2RMS/FFQ79zA/vTY90vaPsQSaOmC1j6uYuxWEfcqlc+YJvo sL9qaQ/NL0QSCu+nFk/AJE0culYb4dkK5ugNOggJ63o2XOvlOZcKh6p3hNNKoVluOi+f qf5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8Gtg42ESWPaNgEP/iLV328EDZv8g9/6LFiPBb5hm6ko=; b=o5DCLTxveJPXWUlNGcBQX2ewzkHnwCtyE6vsFTBofMVHaT9zzn3qjy+Lo8NMuuaZnC N3Zuad5Ey6HCflKTs9md9DHEBsdgVKrXJSjWxbvEiCEQEq25dgqEwg2hqlSISWatgYTO mnYKMDTlbaTAE/SCp/BLxnMxPNuWKdkr+SeEEuzKeu7FSVUxBMu1zeE8DPaU0ztB8oc8 yHcDbAxUI0GoswPK2KLOdK64JzYHQWOBSIDXSLeXCzH7rhsvV6R0OEFQQjrQ1vbQlCdd 0vhhYsR3twouJJnlcYOOaSxF6Hz6CTv1/J+ZQTiU4A0EvoVshLZlwAg+bqhPKgQGzbK0 VBmA== X-Gm-Message-State: AIkVDXIDxf+EaKSK613H9hjEHdib49QQdref54Us8ggKBCzE1y/0fxOOpK5o9piqnOdNDg== X-Received: by 10.98.102.196 with SMTP id s65mr16795216pfj.137.1484230928311; Thu, 12 Jan 2017 06:22:08 -0800 (PST) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id e5sm22207622pfd.77.2017.01.12.06.22.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 06:22:07 -0800 (PST) From: Wei Yongjun To: Daniel Vetter , Jani Nikula , Sean Paul , David Airlie Subject: [PATCH -next] drm/atomic: make release_crtc_commit() static Date: Thu, 12 Jan 2017 14:21:57 +0000 Message-Id: <20170112142157.14684-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 13 Jan 2017 00:40:31 +0000 Cc: Wei Yongjun , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/gpu/drm/drm_atomic_helper.c:1360:6: warning: symbol 'release_crtc_commit' was not declared. Should it be static? Signed-off-by: Wei Yongjun Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 7b71ac4..e2e5a74 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -1357,7 +1357,7 @@ static int stall_checks(struct drm_crtc *crtc, bool nonblock) return ret < 0 ? ret : 0; } -void release_crtc_commit(struct completion *completion) +static void release_crtc_commit(struct completion *completion) { struct drm_crtc_commit *commit = container_of(completion, typeof(*commit),