[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10ccfd56-eef6-4b13-ea89-d0df1c432d40@ti.com>
Date: Fri, 7 Jun 2024 19:12:14 +0530
From: Devarsh Thakkar <devarsht@...com>
To: Sebastian Fricke <sebastian.fricke@...labora.com>
CC: <mchehab@...nel.org>, <robh@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<hverkuil-cisco@...all.nl>, <linux-media@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<benjamin.gaignard@...labora.com>, <laurent.pinchart@...asonboard.com>,
<praneeth@...com>, <nm@...com>, <vigneshr@...com>, <a-bhatia1@...com>,
<j-luthra@...com>, <b-brnich@...com>, <detheridge@...com>,
<p-mantena@...com>, <vijayp@...com>, <andrzej.p@...labora.com>,
<nicolas@...fresne.ca>
Subject: Re: [PATCH v12 02/13] media: imagination: Add E5010 JPEG Encoder
driver
Hi Sebastian,
On 06/06/24 21:12, Sebastian Fricke wrote:
> Hey Devarsh,
>
> please see below a warning that I found.
>
> Otherwise I think the patches are ready, so if you can just send a quick
> fix for that, then I can send the pull requests.
>
[...]
>> +
>> +static void e5010_stop_streaming(struct vb2_queue *q)
>> +{
>> + struct e5010_context *ctx = vb2_get_drv_priv(q);
>> + struct e5010_q_data *queue;
>
> drivers/media/platform/imagination/e5010-jpeg-enc.c: In function
> ‘e5010_stop_streaming’:
> drivers/media/platform/imagination/e5010-jpeg-enc.c:1331:30: warning: variable
> ‘queue’ set but not used [-Wunused-but-set-variable]
> 1331 | struct e5010_q_data *queue;
> | ^~~~~
> drivers/media/platform/imagination/e5010-jpeg-enc.c:1331:30: warning: variable
> ‘queue’ set but not used [-Wunused-but-set-variable]
>
> Regards,
> Sebastian
>
Thanks for sharing this.
I have fixed above (and other reported) warnings in V13 series [1]. I have
also shared the delta w.r.t previous series here [2].
Kindly let me know if it looks okay to pull in now or any other comments.
[1]: https://lore.kernel.org/all/20240607131900.3535250-1-devarsht@ti.com/
[2]: https://gist.github.com/devarsht/0bd2e90b7352ed4831252a7962fff65d
Regards
Devarsh
Powered by blists - more mailing lists