Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1045336lqt; Fri, 7 Jun 2024 06:42:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhVB3zAK+6BrYxpPEwFWFzKvBBOmJXDljJodOHH310Fe0cOZEPi7kHU3Y6fhzsQi6HxxEMhNtv+MeJ2b6FQ3KyvqJUAvoLz1NH9kNXXw== X-Google-Smtp-Source: AGHT+IG+3aVDmgjHsPexp/IsWJ9FbFWNU9pzKoRuSKuHw4dE9SEFiZ1wI/4OCQpc6XkXcWj4KYG/ X-Received: by 2002:a05:622a:1a8d:b0:43f:f08f:2cb6 with SMTP id d75a77b69052e-44041bbb8dbmr32776811cf.20.1717767763238; Fri, 07 Jun 2024 06:42:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717767763; cv=pass; d=google.com; s=arc-20160816; b=Xi1fASHWl448cksz6CnIQHsH7Kkbyi3X7HXkMBe3S5ojYqqbhIXcF92h0aC8pHEd6i Dx1loithZmWd8HkGkZce3ZU+Le79tDEaI2cY6kmwL3pEpvtVHDBjJGgbZu2eeTHRt0eA GO47KDfdWH9ogpUsnPOz2LaZpfiHo43LWkDjDRxebtsxIYzBq50cgdrzxMzuBeZFKQDC C2WqRIDMJBachtu6HSEf20XZ4z9QgmLNII3sAK7+dkm0x5WVZxpeMR+kq38Wggbn23Q3 dLuUSiH6eLiZXNddoYWmf1uwShfh1B0Hiu/LCa+3O715S/E+47YIk6CfndLLOCu3tUfI unSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CvDrkn7chnYdqDbadf2hCMD/PyrckQqI/zXquTAVr9U=; fh=uVWJ86tcif1o3NjX9saNq77Y5xwgUR/V8an0fcoShgI=; b=iP1DyDu6Xy4nPoxp02614t08Vd4eHMum0o3EFLJmkz5AAeHoKOAensIMP/z4jX1W5M 6DH1AE4PAZeiWT24Hvq7yeRA07L3Nlt+PI0wDouBROLAgysq8JbODfhmPyuehmPkI9Mx /MaCofZq2cPlnwpTqRPobgFXSOadeFTnSlBOm3eVxMKK0FdB8oz7BlmIcPSIn6M7cro8 Iy+N8AC/h1MihPiU1JBlAreTxXgG7fLgY/V2RSdklBz8vipARecIb7UZyQ72w7rq7lFk 3Zdy59lidIYjSkUrEIqcWI6GNjDGBfw22lav9i+3ACxMaEoGonzKGCnTDiFLCFU/2fyY 9Lzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fRcEbCtO; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-206181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b61b01si40610021cf.541.2024.06.07.06.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 06:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fRcEbCtO; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-206181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EE4A71C233CE for ; Fri, 7 Jun 2024 13:42:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D29E194A52; Fri, 7 Jun 2024 13:42:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="fRcEbCtO" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB035187354; Fri, 7 Jun 2024 13:42:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717767753; cv=none; b=JVbXDmXPvo8OkPvIz7CVljXZJ6reT6DrGGozy2WcTQWRv9Ew73w7ha4RykLXy89hGl+yeRTCRYdT+wLp66RqtVX2/gQQNVLEosWu7xz27nU6xhacDB3EOv+D08B7Lk2f2e8Cq3S4NSbWLC7AzRpFpEDLfVr9Gcm5Tw+0QTYAiS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717767753; c=relaxed/simple; bh=REmr8gRL5fCzI1CnEPiyzHJinuYDDoFR05g1kfvGDeY=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=dS3Krr+vfUebVz8hv+N6j+gMc2yuoBwlNgCC7tWbRiB9DNGYU37EJyZJpFCeivuiQjW3iiuA9Qm+H0TRF8wfX5mnCdG9V5YAHSjfnEE1p47hhv+41ZduSiMAZqDNwoTVTL+bRc/dUVd0VuiuqOjJOPZzcH4kcupcXMM09IGYhac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=fRcEbCtO; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 457DgMct123662; Fri, 7 Jun 2024 08:42:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717767742; bh=CvDrkn7chnYdqDbadf2hCMD/PyrckQqI/zXquTAVr9U=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=fRcEbCtOseL3XLb0DULaAWbd+KPEjwSpO78Abd5H67EqSmm4su7XrT5mBUYmxolcK OVeHeoprB5caZ2rvoaWqxjsxWILiCdi+oJJsVBdfOIFuGd6/LAlLWAhp1XAFFXt/c/ iLtQ4Ah5jmMFgqzKmh/3kbqUQ+8kIJLIrV+B9Ruo= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 457DgM15077238 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 Jun 2024 08:42:22 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 7 Jun 2024 08:42:22 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 7 Jun 2024 08:42:22 -0500 Received: from [172.24.227.193] (devarsht.dhcp.ti.com [172.24.227.193] (may be forged)) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 457DgFSD002578; Fri, 7 Jun 2024 08:42:16 -0500 Message-ID: <10ccfd56-eef6-4b13-ea89-d0df1c432d40@ti.com> Date: Fri, 7 Jun 2024 19:12:14 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v12 02/13] media: imagination: Add E5010 JPEG Encoder driver Content-Language: en-US To: Sebastian Fricke CC: , , , , , , , , , , , , , , , , , , , , References: <20240604104001.2235082-1-devarsht@ti.com> <20240604104729.2247253-1-devarsht@ti.com> <20240606154234.xfrgi3un667qcjqq@basti-XPS-13-9310> From: Devarsh Thakkar In-Reply-To: <20240606154234.xfrgi3un667qcjqq@basti-XPS-13-9310> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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