2020-11-02 01:48:53

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the drm-misc tree

Hi all,

After merging the imx-drm tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close':
drivers/gpu/drm/panfrost/panfrost_job.c:617:28: warning: unused variable 'js' [-Wunused-variable]
617 | struct panfrost_job_slot *js = pfdev->js;
| ^~

Introduced by commit

a17d609e3e21 ("drm/panfrost: Don't corrupt the queue mutex on open/close")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2020-11-02 08:08:18

by Boris Brezillon

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the drm-misc tree

Hi Stephen,

On Mon, 2 Nov 2020 12:46:37 +1100
Stephen Rothwell <[email protected]> wrote:

> Hi all,
>
> After merging the imx-drm tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close':
> drivers/gpu/drm/panfrost/panfrost_job.c:617:28: warning: unused variable 'js' [-Wunused-variable]
> 617 | struct panfrost_job_slot *js = pfdev->js;
> | ^~
>
> Introduced by commit
>
> a17d609e3e21 ("drm/panfrost: Don't corrupt the queue mutex on open/close")
>

Thanks for this report. I posted a patch [1] to fix that yesterday, and
I plan to apply it soon.

Regards,

Boris

[1]https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/