Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp968050pxb; Wed, 6 Apr 2022 05:35:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlPtDCmPusBXK1QFgOaeXo6Dbfzysyf3mLASMvQFEVmBZ45fKvwHo7m3Rs3G6SG+4pzo26 X-Received: by 2002:a17:902:9a98:b0:155:f634:5f37 with SMTP id w24-20020a1709029a9800b00155f6345f37mr8331006plp.86.1649248512506; Wed, 06 Apr 2022 05:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649248512; cv=none; d=google.com; s=arc-20160816; b=SGxTnk5gQ3ghZ+Rng6f5bpklVE8zO2HiROiiTR33VpyN9vrfFxZG75PluUMV0Z8V1T nO1n9PV/nnamiitLkB/XONaTY8VSJYFgt3bW5zklVzEKoihbyTBPaW6eSxBjjA6I/8Mn AdCFOhjbw9LH9Ufufwb4EKz51WIk58xHa8/AlUCkMMwhcCP91mepZ93W/+IB8SPiDVLE qoTCg3G80BK1Anx+zEpEvtanbPyfSdr+ZNJzRcrXhVMhh1ncz6Ss6ql6AIifTAn3jSbi V64459KJw6jPfWKVzpJv+PtPRopFI+MfWTqn8vja2PGA5qEVcdp0fk52u/HjOJjt+Ycb lOeQ== 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=Ghf6yYsZhCx/JvVepIg/Op1OUp6lWJgi5XCfafEdU4I=; b=bsRDrkXDE1ntjUcb6cLwIY+Va5NYMtWwSQoEDmrPDU4QaiIRuQwh34EMFl7RDX9R9C D7q9mSMWKtlRfT82QONvF7h1E5INv0e2xjfuL2qvaJBrezT31senYpdzmB5MDAYKmEcl KSNF1QDemQTXttLz+Kx1Bc2yEJcmhmbj1HePtKYNUvL4ymvyBz1Gn2G/DW173pq40hxg TfMyhyOD+mWqOmXDCI/iW2CRiH9YRmPMwv0b+Uf3fmuBxBzggxYCODb6GeKgI79JBTw2 Bc6zowumd9TUGE5NeIXLXBkJ3EqmuTB2T/5GZE7xvyC+lPnJW0W0dAxTB84nB4HHg9V/ 9kEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rIgEKXls; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b15-20020a170902d88f00b00153b640ed90si14715492plz.38.2022.04.06.05.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:35:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rIgEKXls; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AEB8349A96E; Wed, 6 Apr 2022 02:05:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1841702AbiDFBZU (ORCPT + 99 others); Tue, 5 Apr 2022 21:25:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1453872AbiDEP51 (ORCPT ); Tue, 5 Apr 2022 11:57:27 -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 DFD63141D9D for ; Tue, 5 Apr 2022 08:02:25 -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 47A26B81E56 for ; Tue, 5 Apr 2022 15:02:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C21EC385A1; Tue, 5 Apr 2022 15:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649170943; bh=Ra/03EFX5mzh6Q7bAuF5V7b3yZhKCzD8UNsg2MKHH24=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rIgEKXlspNbXek7p1WoN/d+mkKu3Nfa8cBFmmXaa3zM1MOzJHAaNrX2XOMt6AL4Se aKsuIqXU0jX9K9qb8rMRxLGXiIEhBcE7+x4B2gNTygCfF7EV5iBQztirOljQWwzHdg I+prIHrsuwc9fuHnZIEAV15TtdOGCgpdTXTrk9oY= Date: Tue, 5 Apr 2022 17:02:20 +0200 From: Greg Kroah-Hartman To: Sevinj Aghayeva Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: rtl8723bs: fix indentation Message-ID: References: <20220405145424.GA623343@euclid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405145424.GA623343@euclid> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Apr 05, 2022 at 10:54:24AM -0400, Sevinj Aghayeva wrote: > Adhere to Linux kernel coding style. > > Reported by checkpatch: > > WARNING: suspect code indent for conditional statements > > Signed-off-by: Sevinj Aghayeva > --- > drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 14 +++----------- > 1 file changed, 3 insertions(+), 11 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > index 04e29e228c1e..1bdbd0971f73 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > @@ -5143,17 +5143,9 @@ void link_timer_hdl(struct timer_list *t) > } else if (pmlmeinfo->state & WIFI_FW_AUTH_STATE) { > /* re-auth timer */ > if (++pmlmeinfo->reauth_count > REAUTH_LIMIT) { > - /* if (pmlmeinfo->auth_algo != dot11AuthAlgrthm_Auto) */ > - /* */ > - pmlmeinfo->state = 0; > - report_join_res(padapter, -1); > - return; > - /* */ > - /* else */ > - /* */ > - /* pmlmeinfo->auth_algo = dot11AuthAlgrthm_Shared; */ > - /* pmlmeinfo->reauth_count = 0; */ > - /* */ > + pmlmeinfo->state = 0; > + report_join_res(padapter, -1); > + return; > } > > pmlmeinfo->auth_seq = 1; > -- > 2.25.1 > > 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: - You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change. - You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like. - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what needs to be done here to properly describe this. 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