Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3817572rwb; Sun, 9 Oct 2022 11:35:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Z8OiER7zI39fLhyT53zCubq9Jz+oRm/JP5+nfDwlt+Q6vUmsw+iXAG7PhfpwSL++M/xvt X-Received: by 2002:a17:90a:29e4:b0:20a:f9d5:c10e with SMTP id h91-20020a17090a29e400b0020af9d5c10emr23565982pjd.132.1665340536482; Sun, 09 Oct 2022 11:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665340536; cv=none; d=google.com; s=arc-20160816; b=s1CpGtNJBnv/SomG+D7CPvo1aBa+TTklxhkGys0iFMDl3u8Y3VCQQKLaGYAreez2jO 5YVkVQ11Kz5VgxE5QZXz7T0DpjP8PRS3ermNC9GXopoH17ifmHsOtWNs803CNAoEfxh1 /t7FLwkGX1Js69NrT1Caz3HghHmmR+lnZq4cw4AWGX4X79hKoXIR+2w4KkJfcmuOaSXV HQBNdGwqutdcwtvTuiqB7ohUWE7pq38N8CijjTYvOjWrPPRC4Jz5yhjtA00IqgYTPFat UVUAwrCRkR+oGl2mFA3QA3clfF18f5PPOKQx6TmguVTxju6PjyoIl2PnLmzJZu3HQbkJ 49uA== 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=GlF7B/2in7nmoMU+bxQlXgdoO7StAbKLIRe4Lh24C8w=; b=inG5CY6W4gjsGF1lqkjYpHG55nX/6wYCN7dU6ZZqt8QXJ/+lMSEpp3Mrc1Y8wpk8A0 4E3SdY508n3hJ8xtubyBK78T37lMWch2YRPc9XbYWk9BUwuOaDUDiiIFl4EtNusSHEiy L7Y5r5WGmH3qfA6YJUmUzd6ED3WPq3hH6tx0X2pvwKP6s4mMo2UMCSbnLuVBDT9qNzwZ hoPukKZWfLMtWCQ9rCt/XoKuKiq+/GAWd4vGm3QmJjKAMh5D7z66Y7SiPyqTG56KGfWp J0o3PugTv8xPwYCCo2vyOMFn+laVS5RKP/GxNCX5KI6HkfBKXnL66xZbdwUWsMgaP1JB dMLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=cx3QoND2; 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 b3-20020a170902d50300b0017f5b7b0655si10493372plg.305.2022.10.09.11.35.23; Sun, 09 Oct 2022 11:35:36 -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=cx3QoND2; 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 S230140AbiJISSY (ORCPT + 99 others); Sun, 9 Oct 2022 14:18:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbiJISSP (ORCPT ); Sun, 9 Oct 2022 14:18:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27AC923B for ; Sun, 9 Oct 2022 11:18:15 -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 D137AB80D13 for ; Sun, 9 Oct 2022 18:18:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47301C433D6; Sun, 9 Oct 2022 18:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665339492; bh=iqQq41+17rFhUiR/5kPv3GL3DyNm2+qz9wuHcaMPe+w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cx3QoND2P6onLWlv8CbxTpmDlX7tLfTZf5CLAeOGQY4GAH7x+DJCGHuWHRyLHu1lU 5kqneydhaLOkWij4CeaFqWzsrDQVg22gDnN0Ol33aIoTyNHyIwRs9iu41q4GluUfPv mruSn1QLaCcC4xTE56VyGe79nxxN58ZzQ6vv5MFo= Date: Sun, 9 Oct 2022 20:18:55 +0200 From: Greg Kroah-Hartman To: Rui Li Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192e: Fix braces/tabs/number/OOM warnings Message-ID: References: <166528776854.9.8249842126243786800.67724771@lirui.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166528776854.9.8249842126243786800.67724771@lirui.org> 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 11:55:36AM +0800, Rui Li wrote: > Fix warnings generated by checkpatch.pl: unnecessary braces after > if, too many leading tabs, int type conversion before number, > OOM message ourput. > > Signed-off-by: Rui Li > --- > .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 +- > .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 9 ++---- > drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 -- > drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 30 +++++++------------ > drivers/staging/rtl8192e/rtl819x_BAProc.c | 5 ++-- > drivers/staging/rtl8192e/rtl819x_HTProc.c | 1 + > drivers/staging/rtl8192e/rtllib_rx.c | 8 ++--- > drivers/staging/rtl8192e/rtllib_softmac_wx.c | 7 ++--- > 8 files changed, 25 insertions(+), 41 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