Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3822746rwb; Sun, 9 Oct 2022 11:42:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6VOZfnrvhLoXgQVRFWjLIaLAVt0A9oPWuS3fFkAGWlvailhpnbLsG1t0mZAw72ocLEJV2f X-Received: by 2002:aa7:c58a:0:b0:459:1511:6cff with SMTP id g10-20020aa7c58a000000b0045915116cffmr14634617edq.27.1665340938769; Sun, 09 Oct 2022 11:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665340938; cv=none; d=google.com; s=arc-20160816; b=QcpLXzLB8jaREx7XpHlMY7RioNDdnQOukTTHmwX8PqBKYEde/2WpUk4Fu24lQmO9n1 EovN9PWguQLOeCPHSvdyY9KIiFISpnf9BxPsysWwCtQI4N71nAo2kMoEbV8kvNHprsQZ ls04BBzV6u0k00JpXDMu+bSQfuFn+RJq5ReRIgY3bP3NL2u9nwnMH6WI6PGjbK1SwSgH gs3+obWlE837NGhZmN7bnz/rU+txLrPN5FqjmzwdGxAwMiQ9S7l6iDwkIPl/YNz+O3/u 1oYnXvSI0wNE5PQwmvz797juB6qG5Xp5K+q/PlrT5h/6IdSO5JGZwrG2DsdJxYIsT3BS 9Bug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=K5qgjZfKQdGvXi9JrIB9OndEmi+lRMny5bsIcLxB3wc=; b=ywyjHQeipLfiO8is20Wg7eqXyisa5/I8Iq4FOSi4AFn6fBUGELANjLeu124rBji6zE 6NgeD7f5gtvpazaSuiPk+79ozWQ+YXSEwAnxbHXp5KqksHFQNp873gnWFZi90y/yn2lc QXLhn00mURTrgpsWh6bug6tCUSGJ9LxPJTih4zPEJI0TUrzE0AD8zI+mfyVigN2rHhYd ERbGmYge227KaiChadxWVPG3p3S5kcfgB2sLkt4g9CdlscAkE2eXW9pXbG4dyiJt4okQ 9bI14v4vU0Lf9hm/8wmsGN3cxL/0C2NqdxcGwS29pqXZcsk64zBu0VQ04YVO0lx8bTMQ DXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jG12PMZa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp9-20020a1709071b0900b0077945c44b7fsi9514913ejc.856.2022.10.09.11.41.52; Sun, 09 Oct 2022 11:42:18 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jG12PMZa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbiJISTP (ORCPT + 99 others); Sun, 9 Oct 2022 14:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiJISTN (ORCPT ); Sun, 9 Oct 2022 14:19:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D56623B for ; Sun, 9 Oct 2022 11:19:12 -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 40EC8B80D14 for ; Sun, 9 Oct 2022 18:19:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C39AC433D6; Sun, 9 Oct 2022 18:19:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665339550; bh=E+37OfAeNq/v4ORcUPd/QiwJp00FAZ197jEtoG9UWDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jG12PMZaSakpUAjPtgFtzcxWOYDy3CfU2+nKndAi6vdRgjJUXb5/XuZw/EmmphTcH ALuSZaT59HP+aZfsbzqDq2Ti1X/xF1Z8uHbrSNTodSgZ8i/UGuMG5tnbK8IRqj/OoD HepWvzabZD5JTNsm5WPZgrfBKJLg+O4/cz9n7kZE= Date: Sun, 9 Oct 2022 20:19:52 +0200 From: Greg Kroah-Hartman To: Valentin Vidic Cc: Philipp Hortmann , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: rtl8192e: cleanup if statements Message-ID: References: <20221009160534.922592-1-vvidic@valentin-vidic.from.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221009160534.922592-1-vvidic@valentin-vidic.from.hr> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Sun, Oct 09, 2022 at 06:05:34PM +0200, Valentin Vidic wrote: > Fix checkpatch warnings for if statements in rtl_wx.c: > > CHECK: Comparison to NULL could be written "!expr" > CHECK: Using comparison to true is error prone > CHECK: braces {} should be used on all arms of this statement > CHECK: Unbalanced braces around else statement > CHECK: Alignment should match open parenthesis > > Signed-off-by: Valentin Vidic > --- > v2: rebase and update description > > drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - Your patch did many different things all at once, making it difficult to review. All Linux kernel patches need to only do one thing at a time. If you need to do multiple things (such as clean up all coding style issues in a file/driver), do it in a sequence of patches, each one doing only one thing. This will make it easier to review the patches to ensure that they are correct, and to help alleviate any merge issues that larger patches can cause. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot