From patchwork Mon Nov 16 17:40:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324480 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3506069ils; Mon, 16 Nov 2020 09:41:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyi3p3e9xiYnzFAgunYD+s2UZATu2J4jPybIsYwMkAnwEvISwhemqoAZbw/W/Nn2moWIlFV X-Received: by 2002:a17:90a:7022:: with SMTP id f31mr16875361pjk.213.1605548489394; Mon, 16 Nov 2020 09:41:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548489; cv=none; d=google.com; s=arc-20160816; b=hRT7/KWrRVChCs8uLt4NOVRBwfPaYezT2jhdMAajb+uFZnL38kr9XRcWxb5IirLv41 COA3f4ALFGWgo3r4ioBbqjm31kdfesvIkfugSK8wDxpRGkrA21dym182Sw6b4DUySafy C7sy2b31LzjtCiR8KT2okUBVWVGcSmBppOndGlO5+wwaqmw+4A+LpzJz4HTF/8c1yH3F phB4T43IaqqOgkdTEkXUAjeUX4/as0Y0O+pyfpWLExuAMhxCArXnc4fQSCzFh7gca0oq NjK8EK+Jm6x8asRaTbbs+i7VcZwxsoZtYhMcwECaBS2csO5rvkQ/oyPhoFUt9xHZqadd b6Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=WbplkZDM3Hr56eB9y8zH/01xVS09Hn1g7uH08oQNXs0=; b=a5m2s+AUoPHYFXhiUoJ1ityk/rU0fU9FVSAznh7jU67iimmkHP2ANwKEt9wvOsKzZ4 QG/6BkOcurhM/pF87jnAgXqEZml2ZvDY+Q644xUIzEbIuUkLoPYj3WG/sGldVXzYT+dv WpezI7JccoLjBhEH/Ckz3wFWj2i9lKL9Wa1se8A07ITO0mHjBHEsEkp4mu8iNoTsig5C 2Ujjosq6I8AlEHOKpfEmbNvuwvxnhLehP9H9G9ROJLxoMMaBd4rIVm2QM9A2kMQYLR// y1p+65xQjxV8xYQMSPqqDn/xbEvF/S5ZKasFtlwwmuDP/osTw7Nw3B1JQMp/IUIeCeN6 8Mqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hy+U4SAx; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 138si17131757pgg.72.2020.11.16.09.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hy+U4SAx; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE01D6E0A2; Mon, 16 Nov 2020 17:41:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id D51DF6E04A for ; Mon, 16 Nov 2020 17:41:22 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id j7so19654430wrp.3 for ; Mon, 16 Nov 2020 09:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=hy+U4SAx16PrqlnuxVW5U1xQBAKZb2kMB+JBT6jHCWWzrxWoYMTf/gpOSUnZWvRMBJ AV+gpm5PS/9qVYSDg82yYZi5O9uwFTk2UVpOOUA9Q4MvdxOld2ijiYRGuvNm5GalEDxs H1hQ4gnyxx6Zs2PHS9F7KXqSpGHsvqpezLeVqbrX7w7HPqWJrC6g6I8U9OhtKkHHHTNk cOjr9HODR3ivsTKLy9slgduBPEMGw2/z1aGzX4m9gECM8l81Ti37Trf+2hA7dZT2Qof5 NdJl4WjDbuuwMbqraBU2i1ZcGYRv6BvOUBLindgX0mkRR8iLqZ6+d2hsFvh9ewzYucNv wZWw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=DlBVuGssVvkbbf9LprRL2ePt0763kaByZUa4SyQVaXEiqNQArD2Tw7GpVwGRlmmeIs vXBeoRTkQ8MCfEbvfU1xhWFJLR3Yler9S2huWs/7x/NxxgChdujCzx08tVMBRzUOSMq5 yjoc3ns+ZyXC0Au/eeQNeaqp9wHty6C+rRh2bJrlmTk9bi9sS32M/8X5y9xrjHkCK5Mp PQB6CqRoNl2KBf4FT4omk+lRLofqBS3fSurVqqB5GOo0HoP9HsQNK1hWBTnykblVqaR/ Mc7EhaAUzAhvM6rSv5tKep6oOXoRmFICdBfZfmxXJxYIl9Jyj1NosRzBu/4mcJtgt5Pt sllg== X-Gm-Message-State: AOAM533wHdgXGxsqrXt5/bMnuRw599Vt6MYVaeXroy4OFABV4kQW6dTO caRkGKbyzbJo6MEz6RKf1QO+tQ== X-Received: by 2002:adf:eb4d:: with SMTP id u13mr19723606wrn.146.1605548481587; Mon, 16 Nov 2020 09:41:21 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id n10sm24667224wrx.9.2020.11.16.09.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:41:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/42] drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state' Date: Mon, 16 Nov 2020 17:40:32 +0000 Message-Id: <20201116174112.1833368-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116174112.1833368-1-lee.jones@linaro.org> References: <20201116174112.1833368-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Russell King Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/armada/armada_overlay.c:329:1: warning: no previous prototype for ‘armada_overlay_duplicate_state’ [-Wmissing-prototypes] Cc: Russell King Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/armada/armada_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_overlay.c b/drivers/gpu/drm/armada/armada_overlay.c index 30e01101f59ed..6346b890279a0 100644 --- a/drivers/gpu/drm/armada/armada_overlay.c +++ b/drivers/gpu/drm/armada/armada_overlay.c @@ -325,7 +325,7 @@ static void armada_overlay_reset(struct drm_plane *plane) } } -struct drm_plane_state * +static struct drm_plane_state * armada_overlay_duplicate_state(struct drm_plane *plane) { struct armada_overlay_state *state;