Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp419912rwe; Wed, 24 Aug 2022 03:24:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5qHCyJ100V62yopCUWxoiIobcS3lDrpVb9+DFuWXH0NUjksBY+SqbBPYdpJCXZNcmM0qCO X-Received: by 2002:aa7:cb56:0:b0:447:8d82:729b with SMTP id w22-20020aa7cb56000000b004478d82729bmr1023375edt.342.1661336655844; Wed, 24 Aug 2022 03:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661336655; cv=none; d=google.com; s=arc-20160816; b=WoEtBg0rhoBOpkmCXxzudjCXRJ1SXLqewc1Ianr7WzKu8LujufUOqlvnIdB5fXUhhK 771Ools8C9DruV2e8HLblGAfOfm7o0Zl3+Cvi7hkXJM9CaV6qk7DJYTGrMZZkCHlxkrC q4ExsAYPodaZ6bAX4SeDE5090X725/ncEv6I1r4lW7BA0aZBoM/T4bXod19/PNk4nK47 I0ttSs/3f4zD7WxiJ6w4bRmIG19/KPAq0Y0gQEZxREmIfpscmaAlXwsRYqmPWKW9eo8U 5sfcS+Z+cyrcNEcC2kd88gh/XzapQn1OPYvVH2Ue1YvbesshvQQx8sbxNz2hIBhwKBuT OdyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=MlgGIVAC6IFOa1uHDJ/e9UemnI8mwo0AByfEkTguoGY=; b=y2DZe9FbKayr0dW1N/GYFnZ1bYmMLZeTEHXqAo5jMQ2pwH8Sp8HKv7GNcunudq+sdX bdRW+HQvDYxr65SyYmXqfIuJOXAfDxgPqMP1ro/iWl8DbGQSDold2h7F1ggnLS73UGDo 9wnpmS4+avVtDAn3I3Q6ParAeS7bcJlVSZar2d7i+Yvg+BR2GBmDsjtFfJt4Rkk8IQBu cru4CrtH3kXcspB008uB1zjvNGlUSrgKA9aELU7GiA7CaA1GvYlPoFUPgVaNuJb9w0aV GM9BtLT+Ka0Xn5/hMsQog6QALeSlOwuVZVX0tPfNvHybVnDbFnlik4JOj5timqCX5Q9a oWqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd37-20020a17090796a500b0073d6d81733bsi2097909ejc.678.2022.08.24.03.23.49; Wed, 24 Aug 2022 03:24:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235869AbiHXJtL (ORCPT + 99 others); Wed, 24 Aug 2022 05:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233796AbiHXJtC (ORCPT ); Wed, 24 Aug 2022 05:49:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5747267464; Wed, 24 Aug 2022 02:49:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F2981B8238F; Wed, 24 Aug 2022 09:48:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D732C433B5; Wed, 24 Aug 2022 09:48:55 +0000 (UTC) Message-ID: Date: Wed, 24 Aug 2022 11:48:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] media: staging: media: zoran: Removed braces for single statement block Content-Language: en-US To: Abhijeet Srivastava Cc: Corentin Labbe , Mauro Carvalho Chehab , Greg Kroah-Hartman , mjpeg-users@lists.sourceforge.net, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220721150055.52096-1-abhijeet.srivastava2308@gmail.com> From: Hans Verkuil In-Reply-To: <20220721150055.52096-1-abhijeet.srivastava2308@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 */ >