Message ID | 20210303134319.3160762-18-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5133103jap; Wed, 3 Mar 2021 05:44:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPFpmIIbZ+kFPCaNfbgverkZ6X3K3iAl2zcOtlnrb+16TeR3hMvZams1Dkxq/k8VyCJy/p X-Received: by 2002:a17:90a:602:: with SMTP id j2mr9415617pjj.65.1614779053098; Wed, 03 Mar 2021 05:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779053; cv=none; d=google.com; s=arc-20160816; b=cSJleaWrRxB/E1r6bHqyoHb947UL/kIur6cbzUCNV+FILNG5uEAFW/uZS8oBZECqUk bo0xT510p+p3PEpcTqNAfnJzLXVa5bDfgs76bXhn7FZKg3eDeITaJuN/C2bYJlIe2XBY pH9kzP+lbyyncj6FbAXN9LlREL3rI44x4PLJzDQWYp82cNjniTvoMK8dx9S/V0QDJ301 +13bn3Xp6UJIBIXQiMpdQNbf60BPNniLgxzwGERoJZnOpYVExVoCs/uWnm2KcCMHpPcR X3jxJmjPm7Y/ZIsFLpW029gMWT7ZmYYfuyy4rpThV31smvQA1RimhttzAy5HzsCo9yCq WIEQ== 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=TsUp/0scBd11CGaHJe91dBVrESLjwxUnXmKDZxDfl9E=; b=Kw/JheR59g268IMV70hYkIjDv22sWTh91HgT4iw4dp7lZdjMYZGMdyOziD9jcVfQyq Vjp4LQ2lRE8XCmYu6lQgn442fWg2xzlMmlyXteitKcJG7/6YQYTTbuijv/cB5TIy4ROo ilUpu161QCzI6HH/MnvNNBPg961DpCRyq/P6/5DTt7al8PFGj7OtQ1k/iRv9wiFVBtSW Y3OOuLVnRmdGwge4AD1F2kACekt1ddvdtT5i8E7F1tbv7lMt7nqrWCnjGy/vyfnBYZJG utTJDkXR7cWYJoumaKxtTJIOLEJdomj+VnO5ubCbHrrwLrjxofAkOeA5ZjC/wz59LLe6 UAQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b8s1GADM; 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id d18si2575886plg.180.2021.03.03.05.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:44:13 -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=b8s1GADM; 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 0A8796E8FC; Wed, 3 Mar 2021 13:43:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id 769FE6E8EA for <dri-devel@lists.freedesktop.org>; Wed, 3 Mar 2021 13:43:49 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id 7so23755573wrz.0 for <dri-devel@lists.freedesktop.org>; Wed, 03 Mar 2021 05:43:49 -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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=b8s1GADMy3KCr1xBwRkJxqrHKcPwaqZuz/sooEbpFBd2wLj+LQxrMwWz3TBw/Vlja7 9WlmxMg3FND6FswMAyNnsSIunYjTbwzz3+KFzk9Rd8fwcKLsPbG3JWLJ57I6S+zBV8uw N5LxB9/i1sAnWt65VqWTe3+gddF+brZb0ZhOl7kzIzYGu6ErsNhO02pFM6qk0r/JPqGx PQ59WcXnAdN6Al+FNN0k/T6klL5epStV/txWxabOxawEY5hEM3Ir+uhkuDsngHx2eeod 4vdzgdGYV6/hW/g0s46y8B9nkF0v3AdxgmJWsMn/VnDTuOXSn+yweuNGiBmmEFVB5HoX eMuw== 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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=fF0KrJ6janYsfdFPxCtY8kdzwjuDNLTFmH5AQEVnoGJBVfcZlfuuiJDiOE5y9O9vvJ X5CxZIeWb/yTNDo5rCCRWMi3GIE+Woec6gNR04s2Fs0VGD3dmdrC4soaO5vgSNkUFbuC W8+1YfrWSJAWUz7tMpAlEOmQhJyQ66BVQ0N1U/MPZRGVHYYf19IDzaMNz6DTZa70PMC0 BIWXN1CDD3/tR/tQC5LLKUGl86d/Obe2GYwtzyks1vgC7K0oN02xN4mp9R+t5Mt/jlAM GxLPoolNcNG1WNyYGzakoXviVjnsE9vgwOWB+a8eBPRAj3bRTFeTvL8A6ReKCjxn0qof 0+NQ== X-Gm-Message-State: AOAM533bWBNIR+JB1FVzVHz4UoyqTfGajAGOq7Nm90oqxPMK4aCqgMkf lH+mutnp8zIYY/8K5XhaiZX5KA== X-Received: by 2002:adf:fec5:: with SMTP id q5mr16913767wrs.43.1614779028142; Wed, 03 Mar 2021 05:43:48 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:47 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 17/53] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Wed, 3 Mar 2021 13:42:43 +0000 Message-Id: <20210303134319.3160762-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303134319.3160762-1-lee.jones@linaro.org> References: <20210303134319.3160762-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>, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs <bskeggs@redhat.com> 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 GPU from W=1 warnings
|
expand
|
Reviewed-by: Lyude Paul <lyude@redhat.com> Thanks! On Wed, 2021-03-03 at 13:42 +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous > prototype for ‘headc57d_olut’ [-Wmissing-prototypes] > > Cc: Ben Skeggs <bskeggs@redhat.com> > Cc: David Airlie <airlied@linux.ie> > Cc: Daniel Vetter <daniel@ffwll.ch> > Cc: Lyude Paul <lyude@redhat.com> > Cc: dri-devel@lists.freedesktop.org > Cc: nouveau@lists.freedesktop.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- > drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c > b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c > index fd51527b56b83..bdcfd240d61c8 100644 > --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c > +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c > @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, > void __iomem *mem) > writew(readw(mem - 4), mem + 4); > } > > -bool > +static bool > headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) > { > if (size != 0 && size != 256 && size != 1024)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index fd51527b56b83..bdcfd240d61c8 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) writew(readw(mem - 4), mem + 4); } -bool +static bool headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) { if (size != 0 && size != 256 && size != 1024)
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs <bskeggs@redhat.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Lyude Paul <lyude@redhat.com> Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)