Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4169457yba; Wed, 17 Apr 2019 06:09:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpY0wxhU9PgtXZ3T4COL8sFZDmpkscolaXuImq61tiXyw5eb9AnBwNUB8k1UqHmyQru1GY X-Received: by 2002:a17:902:9a0c:: with SMTP id v12mr62138408plp.184.1555506557963; Wed, 17 Apr 2019 06:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555506557; cv=none; d=google.com; s=arc-20160816; b=Vk0mGTsLcsRL97tf5dd8wEnwcdSEbZE67GIvaryLblIJ2n56JAcm7/J8ps1wjouWE5 sOzO4oSA5uU5mDe/+1oCA3lpdfmlxVfaDwf7+qD0sEvHDptj1CZ0YvfVomOcosMkyPsO HUBoTNQNZ6RE3wiuTGPkxZ2zxopos7D0akOq6YWc+hcrSk8deww+XCEcEIpAyIZSbDU6 n/yh4ung6Q4byH241Pcjq9Q0PC6uZJ7mJ0s0iV5YjNythtZvX23h9ABQ32EiJEMdt6J5 RAgXJfujqu6vmDf0qq0JjKkctAno6Be7E2yvv4Lr/Cez5n4DLbQSSqzt1rqmGji7zWiE DsnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hBjREtF6unCqrtvjKNwmKX4QtKipDGDtbHNiyhQu1zI=; b=lvu8LKDq+zkR/9Wzoy87N8IG0kidqxQtkvu4Ve4TUe2X3UPXA/QjdaGMxms9xrKbOD +jZINk/bSXFAjeYUsAzCAUjXr2I3lCs40kswB81wx+0NC8OcC4LL14TruY9i3aNrLiiU 36ZiozkUO4p5/H99znMaLS3LuOpxFXaQt4uaOvF7RO8m2t2W2yTmxQ06JxAC6FXNyh1o jx3Jx/mslp34ACBBeSq4Np7YFNdfZhdKkBYqXE+uSp/7qI8s1cr7v7Tjp3QS5sI6WY7R VWq4ylMa1UaOtIjGNhpqTBerVYkPl2tWlX/tbgKj4jN3WzPNLaB9R7EZXcgRodHZgfJp lT2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tNPNt9Ww; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a36si49919804pgb.165.2019.04.17.06.09.01; Wed, 17 Apr 2019 06:09:17 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tNPNt9Ww; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732128AbfDQNGY (ORCPT + 99 others); Wed, 17 Apr 2019 09:06:24 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:56289 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729395AbfDQNGY (ORCPT ); Wed, 17 Apr 2019 09:06:24 -0400 Received: by mail-it1-f193.google.com with SMTP id y134so4385275itc.5 for ; Wed, 17 Apr 2019 06:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hBjREtF6unCqrtvjKNwmKX4QtKipDGDtbHNiyhQu1zI=; b=tNPNt9WwPLnvglhbGL0/WNtAQ/FB1kHbnCOlRqO28EPZez0BoXp96b/jYpmXEffm2r 0myrVZouUQVVU+mUXNB4kL3tKMs2Zo/fkJhgwTJ+dffOYuf+d4Qe4xZjM2L5zOVbCKk4 FFeHqBjAdIMm+bsv0eJmyLGevd7UD/tHHxUbpSHZkj609nkbihtNWinZZFeMcoJjl8wd hOl1fo76lr32E5ZOgOAvIltopx3/k69BrChJKW/wuSaRwf3MT9tR8THnJHK7Iy5IL9Nv 4vwbBlJAkFarfMnAkfpfB4eZrwujr9xfCy2XVgqo8Mn4yxlQyIJdGPWheMisvE5mh1m4 EuEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hBjREtF6unCqrtvjKNwmKX4QtKipDGDtbHNiyhQu1zI=; b=qObqZxz7L/OON/spZq7t45e9GvzNo3vbybHPbc/ASiHjcpjjycjKznB53+W0IjB0+5 cr/bhwXJ12jMWCJjbOSR/WKzrc4u8QlpCZNhf1Gha+GZ8z6RRGP16XIg6TLtI0eQp8h3 jdWZ4EAuhs9YvcpJ4NG/RxB6UMsnx4avBGmSlmOZgNTSYhud1q+cM19Eymr16STNk8f1 ve6KnZh/rNC9++MkL5gPXscCX1N/p4GTKVH+2eBAaCfNdcOEDp+0ZahXPW1BDbMyMQv+ 4hySyQA9kmVB5K5BEaET5+im+40Da692MefcgkqqpnVIXc0zRKiNAH0QnICw5g8x3DRw 1/Hg== X-Gm-Message-State: APjAAAU0jui61ffYyeUPSmgQd5h1mBKVqxxXHudxKbDYSN357AbKovQn wMRlHCiPIZy6cUHdtoI3eNgZd3/6nKi8c6vUrGjiSg== X-Received: by 2002:a02:924d:: with SMTP id y13mr57913507jag.24.1555506383238; Wed, 17 Apr 2019 06:06:23 -0700 (PDT) MIME-Version: 1.0 References: <20190416144353.34024-1-yuehaibing@huawei.com> In-Reply-To: <20190416144353.34024-1-yuehaibing@huawei.com> From: Qiang Yu Date: Wed, 17 Apr 2019 21:06:07 +0800 Message-ID: Subject: Re: [PATCH -next] drm/lima: Make lima_sched_ops static To: Yue Haibing Cc: David Airlie , Daniel Vetter , Linux Kernel Mailing List , lima@lists.freedesktop.org, dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pushed to drm-misc-next. Thanks, Qiang On Tue, Apr 16, 2019 at 10:44 PM Yue Haibing wrote: > > From: YueHaibing > > Fix sparse warning: > > drivers/gpu/drm/lima/lima_sched.c:356:36: warning: > symbol 'lima_sched_ops' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/gpu/drm/lima/lima_sched.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c > index 97bd9c1..569f0a95 100644 > --- a/drivers/gpu/drm/lima/lima_sched.c > +++ b/drivers/gpu/drm/lima/lima_sched.c > @@ -353,7 +353,7 @@ static void lima_sched_free_job(struct drm_sched_job *job) > kmem_cache_free(pipe->task_slab, task); > } > > -const struct drm_sched_backend_ops lima_sched_ops = { > +static const struct drm_sched_backend_ops lima_sched_ops = { > .dependency = lima_sched_dependency, > .run_job = lima_sched_run_job, > .timedout_job = lima_sched_timedout_job, > -- > 2.7.4 > >