[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cf992081-eb0c-009d-f283-1602b74a9293@xs4all.nl>
Date: Wed, 24 Aug 2022 11:48:54 +0200
From: Hans Verkuil <hverkuil@...all.nl>
To: Abhijeet Srivastava <abhijeet.srivastava2308@...il.com>
Cc: Corentin Labbe <clabbe@...libre.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
mjpeg-users@...ts.sourceforge.net, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: staging: media: zoran: Removed braces for single
statement block
Hi Abhijeet,
Thank you for the zoran patches, unfortunately these are a duplicate of
https://patchwork.linuxtv.org/project/linux-media/patch/20220810115445.2302477-2-hverkuil-cisco@xs4all.nl/
I wish I'd noticed your patches earlier, it would have saved me some work :-(
I'm marking your patches Obsoleted in patchwork.
Regards,
Hans
On 21/07/2022 17:00, Abhijeet Srivastava wrote:
> Warning found by checkpatch.pl script.
>
> Signed-off-by: Abhijeet Srivastava <abhijeet.srivastava2308@...il.com>
> ---
> drivers/staging/media/zoran/zoran_card.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c
> index 26f978a1cc72..0c138d47d0c3 100644
> --- a/drivers/staging/media/zoran/zoran_card.c
> +++ b/drivers/staging/media/zoran/zoran_card.c
> @@ -1038,9 +1038,9 @@ static int zr36057_init(struct zoran *zr)
> zr->stat_com = dma_alloc_coherent(&zr->pci_dev->dev,
> BUZ_NUM_STAT_COM * sizeof(u32),
> &zr->p_sc, GFP_KERNEL);
> - if (!zr->stat_com) {
> + if (!zr->stat_com)
> return -ENOMEM;
> - }
> +
> for (j = 0; j < BUZ_NUM_STAT_COM; j++)
> zr->stat_com[j] = cpu_to_le32(1); /* mark as unavailable to zr36057 */
>
Powered by blists - more mailing lists