Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4258603yba; Wed, 17 Apr 2019 07:53:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMUpiI/vI7hFHQwuFUGM4etgo/VZDNKCETX63gOwDTSX+SZd62/sr1oe2sz1ZA/Xv5FPws X-Received: by 2002:a17:902:2862:: with SMTP id e89mr70684582plb.203.1555512814115; Wed, 17 Apr 2019 07:53:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555512814; cv=none; d=google.com; s=arc-20160816; b=KSTHECNcHb+oMqRyAj7WWLz2ut6SeGumD1dJS8BS9PQIbT6+z/9KS64zbkm+Ku8J+P jYcCBoii+YhBUFp+xglTvQjVYOu3U+RgMfuFSeQuP8VtyfHm69WFSFrXF+U2nGx0WWtS ob+FGyUiZR3DTdwS+ZsmI/qB7pakboblHmpTdi2zMEZFyK5n5bTx1jdQwYXiZNRWCleG Eo/LXgp9B8RkJdQpekd0PEz0wlqHjXRrv315Seix7WsfXXGZzZf+S6v1loxNc/O772kF mU4qwL+c3J2kxOcDmltrbshiMEHOdD6fZrHsRs3BBY+N1qTsSDBq4hBa+lUoXZc4ZOYY sbzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=PF7tQ9iDTIa9AINlNLrGIIduIpJNQRfV6Aq1wql4SUQ=; b=C5ga6C37pLUeuWy+CAqrtDOeLeJt2e20Nqwo1vLGnZnEOp6cIP/BRJZ6eQeYJ2lmw5 QIpVJwltNY/UDJuBV92JflR3STaGTa8xLyqWaY5Q/z0Wx+7foJzYOBQz9U4Q4DDBvV8n 5e0j1Chabtnn1IIeEj8PTFYjdWZ9ubjo4viz3DCBKdwJDiP69jLuF/6nGLFSKv9jUFcx p8VhFJHTzlQNxFwLOhGRZt1JJ1kxo8WSnGXm3nByNeEUu4NixQvex4VJ0QF8jLBaaciT hjEgA4P1mxQUnNeMKaSpVM8mItt+pBGGZEm6Uh8RLsZDWbA7JkRL2zFRR6yVNOu1c3Di FHyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f91si26362232plb.378.2019.04.17.07.53.17; Wed, 17 Apr 2019 07:53:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732259AbfDQOvu (ORCPT + 99 others); Wed, 17 Apr 2019 10:51:50 -0400 Received: from foss.arm.com ([217.140.101.70]:46252 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731454AbfDQOvu (ORCPT ); Wed, 17 Apr 2019 10:51:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 983EDA78; Wed, 17 Apr 2019 07:51:49 -0700 (PDT) Received: from [10.1.196.69] (e112269-lin.cambridge.arm.com [10.1.196.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2AD9F3F557; Wed, 17 Apr 2019 07:51:48 -0700 (PDT) From: Steven Price Subject: Re: [PATCH -next] drm/panfrost: Make panfrost_gem_free_object() static To: Yue Haibing , robh@kernel.org, tomeu.vizoso@collabora.com, airlied@linux.ie, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20190416150051.34092-1-yuehaibing@huawei.com> Message-ID: <7c9d75dd-ec67-4491-ca0c-79743211f308@arm.com> Date: Wed, 17 Apr 2019 15:51:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190416150051.34092-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/04/2019 16:00, Yue Haibing wrote: > From: YueHaibing > > Fix sparse warning: > > drivers/gpu/drm/panfrost/panfrost_gem.c:17:6: > warning: symbol 'panfrost_gem_free_object' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Steven Price Although while we're fixing sparse warnings, there's a few more in Panfrost: -----8<------- From 8aaf778262744cfbebb9b7f274ead9ba600526b0 Mon Sep 17 00:00:00 2001 From: Steven Price Date: Wed, 17 Apr 2019 15:47:49 +0100 Subject: [PATCH] drm/panfrost: Add missing include Fix sparse warnings: drivers/gpu/drm/panfrost/panfrost_devfreq.c:133:5: warning: symbol 'panfrost_devfreq_init' was not declared. Should it be static? drivers/gpu/drm/panfrost/panfrost_devfreq.c:168:6: warning: symbol 'panfrost_devfreq_resume' was not declared. Should it be static? drivers/gpu/drm/panfrost/panfrost_devfreq.c:182:6: warning: symbol 'panfrost_devfreq_suspend' was not declared. Should it be static? drivers/gpu/drm/panfrost/panfrost_devfreq.c:212:6: warning: symbol 'panfrost_devfreq_record_transition' was not declared. Should it be static? Signed-off-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_devfreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panfrost/panfrost_devfreq.c b/drivers/gpu/drm/panfrost/panfrost_devfreq.c index a8121ae67ee3..238bd1d89d43 100644 --- a/drivers/gpu/drm/panfrost/panfrost_devfreq.c +++ b/drivers/gpu/drm/panfrost/panfrost_devfreq.c @@ -7,6 +7,7 @@ #include #include "panfrost_device.h" +#include "panfrost_devfreq.h" #include "panfrost_features.h" #include "panfrost_issues.h" #include "panfrost_gpu.h" -- 2.20.1