From patchwork Mon Nov 16 17:33:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324433 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3500850ils; Mon, 16 Nov 2020 09:34:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5MnpqVcpei3qNWbAj7My1+CyM+coC15h+pN441vHDEe8BJ4WWW+fSR2xeU5BWOswHUYqL X-Received: by 2002:a17:90a:a090:: with SMTP id r16mr17012350pjp.179.1605548054901; Mon, 16 Nov 2020 09:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548054; cv=none; d=google.com; s=arc-20160816; b=jsH3XhW/u0WtlG3zwsfrxBaayOk3BcrarSCRo1yfEK62tBSTUYDv0zYIYaUv+h/OLU G0ik2PlUwOBaxZtPIcViTuzKnMKMR0vbhAv9nu4dkR+UNrmfRYf9SrLe0L7BnRpfin8Q ZAel/8UJJMd/GEc4B0u6+POE4NN2TM3SlcrGEGdQdzfeGopmxuDwQ372YvfGe0s2O5bR izLYWZcS7VoZQ1Hkle83jZc2B96PbH0EHit2p+40Pb+B7tvAzKQL8Z8bOOThxO70GY/N kwAmuSdAZC7bFcT5ZBJ1GsryH599maK5eby/Ke8qV0NM1J/3xLHvhZRHsqWmRt1D/O2C VwDg== 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=fRv/dliKT6t4j1+1I/9NLLaC0GY2MEDFZrQfiffJdiJr1TLqF0v1noqrEpfVXGYfo8 6lvjKADRkZUjpQu5Qjw+QTKIJFu0NSUsgsF77gRYHs4w3I0Cju403uVuWYFlyfG1z+pb E7gMH7pgVFxfY8p7pSdz7v23IwxNtIEhOQyv74yR2jZQwi91D94qO6HMSMIvFsUsSB/V TBiGM1tW3wm0xxhqiKKy3PqamMvTs1hh1LsUAmM8nqL+w2aEytkuyA2lGFhXOJ9Hw2ih QVNrenkiDzt9etI/Va5fT6VQy5NeKW6yxtVlsFZMuY4OwTtxD/5W46xmCo1qAbh9WFdR D72g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fyqsAvQs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 68si2413027pgh.225.2020.11.16.09.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:34:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fyqsAvQs; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 CADCD6E045; Mon, 16 Nov 2020 17:34:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B8AC6E039 for ; Mon, 16 Nov 2020 17:34:06 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so661wml.5 for ; Mon, 16 Nov 2020 09:34:06 -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=fyqsAvQsjtZPgnLlNYuAqgjvLAD2KEzD8fnpw7ksi4Au1TwwXYnRVrsBR/kFuKwr8T ay5r44BEiVO6rwJ7s46T5efTy1mn+/E3CdpPp4wq1sdrJ8SItiqm8ofCZVWmE1NUqlJM v46lkfvxWS2ekQ5Iua6EGzvtlGIopUbuL6qRgPHdhxTnXuQ8DJr2rqgLDJ2dFJpfcym/ 0J7ykIgHqeohEh1o0dXfzfgUCPb6i2O3o79f5Dake/7UTZhmgEjvFhyW70iMUjct1gm7 4wn0jmAsn+wN8vfwj2vEvz+ulBbhMT6lQ2ErhB/VWJpnfR8iA5zwaBp4yz5udBx1ZgKS oxUw== 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=Rpgt0XR+nlwmGsvTq7dNtLmhC4JQP4z/3HD7kYVIsQ9kpScWkIZY0Z24gx1ee5laBL gBQLe2IoJQ4liYj3SXY4ERdVjTEYhxyMJsL4KBdJmzUfSF5hap+scduU44dPe2TK5jI3 SWRUdRi+k3T8vvLUfBB5ByJ2DLxN453RdHRxoG6g5u1UD96J4bjjyIXMN5wmO33CoKNR H8UacQil5GuFDfdqkicVnm5jZKbl2gW7jcGdDYP34rpG1BM0iMJoH0+mHmBj5D/J4IWO 8aHD35393rT9frbbbMJufosveHuL7WRa1gtUvahwF/pn0qanBhlJDjR3FRaCulbMo/vl oTdw== X-Gm-Message-State: AOAM532K2+J/c8fJsPeeZWhWm4s1mbYV+3I9Ee6DZ30cxW/C2vx4Uo9u EmVs2RliQ+PC53arlux7SpVuTbDudIbEkg+f X-Received: by 2002:a1c:5605:: with SMTP id k5mr15783540wmb.99.1605548044818; Mon, 16 Nov 2020 09:34:04 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id k22sm20178562wmi.34.2020.11.16.09.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:34:04 -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:33:16 +0000 Message-Id: <20201116173356.1828478-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116173356.1828478-1-lee.jones@linaro.org> References: <20201116173356.1828478-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;