Message ID | 20210115181313.3431493-19-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 5461bdc5772fdcfde679911c99b710bddee51851 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89186jap; Fri, 15 Jan 2021 10:14:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQYhxeEanyBmC0/s9jvkBGzSBN0As0iw+dkUBjWz6NySJMVwZAAFlFoFAidn5iwq9JiC7Z X-Received: by 2002:a63:101d:: with SMTP id f29mr13695429pgl.165.1610734449000; Fri, 15 Jan 2021 10:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734448; cv=none; d=google.com; s=arc-20160816; b=w1ky9/SJq5lfOx4yshPDyzTxXy10pAmLLTSplcUjBpMA8QtgrWPiuxh0lgDe1og8+9 sMJlGGtf3zf20NP2f0BDkXep9dnag8IkItr1gMFblSzbDm6pj3jQ8DzJDjKywAdD23WT Iq5tlnm9vFNqo9vPhp7g4BMlhZrG7ybGoXAg6upr3JHLbnSmEPwgrZAT+SDdloMJR0c7 ImZSVekuc4kFpaTuhibFFtNc1/TjPmd+k5IrO+ArAw29WDmbRIplShULcYeGiSxKeIFz J9UrMmQzLj57y7I7CViIgJWowNq6NN3pBSAgQQK5Dm086NUuOd68NFDPbzcucpib1oIr YobQ== 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=G3vI+7cKQ0aSh5I7EE5M0l+B5MH/zX/WIGZP25IngG8=; b=KzXbCzAAyk/w6iFgGE7Hmj/ms1kFX5cO2WkXko9ObqLZ0L6eHIwdhyEyOimXkRr3V7 fAlLBXCM0+v0X8t5n9rp/rnoo4WiB50Mv8M9JPo617/S1776GMlk4g9qW/dEjFMszJ+k ekWEbdYfu4ARaqdFNYPgZ42e8tBtvqRWiXefs5xNNAm3awSVu28ps9/QEG+FFzufHZ2w 3H63QuyujdQvpqd3Oek874k/shoQT+o+AXLhK8bUAlZj+NPQvJ9a6bOx201XHivUkSdV ZCf6Awa2MgsvcRxKcaDEnhF2XW4bSSibEvroY/zGkzJcQRt3GeHX76JRy9MtdvRBMcsI 6SEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Si13WZnj; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id o37si10440191pgl.473.2021.01.15.10.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:08 -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=Si13WZnj; 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 3BAAD6E487; Fri, 15 Jan 2021 18:13:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id E00D76E487 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:13:45 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id h17so8029052wmq.1 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:13:45 -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=1yMxGlPEfyzvXa2UJQqEx7ekNRCoKDflK8zni2fkeUs=; b=Si13WZnjdkXdJogyfDIMI1YTp5PsWFLMpQMp5+G1UHdeypDKUAtv7h1aQEV+fImecK ivSNlCJIoBYyFxMYvF1bmuFw1vIxMuj4SR40JJeDLZlAs6g64j6LnFt4NvHwvcgEXMOW ENqxiXMpECNBXjjUQGYMobSUGV+OaIWcCeoOlBdlJpAxvfKp84rV1MLqS6vr6wlsWtm7 PejC1um/TxCI8YN3jCuYMgatzgnru0/ZU+o1W4uLWLXLXZKw/076lH/ZMRK7Kw4kbqY8 Afdk/FKH7TM76838J/DvbxysuQMyJrWeU70SfyL19qyQhEy0/8EKcpxgfbdtvNqDOrL9 F5bQ== 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=1yMxGlPEfyzvXa2UJQqEx7ekNRCoKDflK8zni2fkeUs=; b=U6SEQBrv+vXe9NdmxZK90OwywdjefdD1WFNsejJ4jMiiu0OCIHdLW1SzfApwvsIf6u OoKkmUD78//+bpg0JaKke3q6hTyOBxlS3hNHBnJJgYfjaGdoEDIQZ0WGqPGlGcUCdEHQ fDLI+PbExe6vnOhiZw6IhFlupBsISvKVhZdr+85YHn9KG7udY04Ckk5wsOQJLspcyAQa ZsHIKzjZIY40P+8jz0YqyXy+Oj7CdVkrO6y5hzOJTm2PFAO10GZEaHtgPR4lQMkW0yoC tbe4gKNTmsmizdgcZo85AnKdI8M21Vk9vj3DpFbrJy3ulr9zX9kjHqErkk7jaQAmjgwo xpDg== X-Gm-Message-State: AOAM532gF1t2lOKLvvjyJI8BWuvTuljs03LZ2SQXCsGjvAReDss+yUQV lH9XkhsmnNDJWPIm6pDFkEzoaA== X-Received: by 2002:a1c:68d5:: with SMTP id d204mr9861675wmc.178.1610734424527; Fri, 15 Jan 2021 10:13:44 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:43 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 18/40] drm/gma500/mmu: Make local function 'psb_mmu_pt_alloc_map_lock()' static Date: Fri, 15 Jan 2021 18:12:51 +0000 Message-Id: <20210115181313.3431493-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU
|
expand
|
diff --git a/drivers/gpu/drm/gma500/mmu.c b/drivers/gpu/drm/gma500/mmu.c index 505044c9a6732..42b53c01b79f4 100644 --- a/drivers/gpu/drm/gma500/mmu.c +++ b/drivers/gpu/drm/gma500/mmu.c @@ -313,8 +313,8 @@ static struct psb_mmu_pt *psb_mmu_alloc_pt(struct psb_mmu_pd *pd) return pt; } -struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, - unsigned long addr) +static struct psb_mmu_pt *psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, + unsigned long addr) { uint32_t index = psb_mmu_pd_index(addr); struct psb_mmu_pt *pt;
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/mmu.c:316:20: warning: no previous prototype for ‘psb_mmu_pt_alloc_map_lock’ [-Wmissing-prototypes] Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/gma500/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)