Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp848235pxb; Wed, 6 Apr 2022 01:49:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTql3Pa+3U1htAX4Qac8smUvPkGIktD5hrVhPxhEHvrRF+V+D4/8CZiqHB6s++PuLbx9E0 X-Received: by 2002:a17:903:11c7:b0:151:9769:3505 with SMTP id q7-20020a17090311c700b0015197693505mr7439296plh.72.1649234963612; Wed, 06 Apr 2022 01:49:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649234963; cv=none; d=google.com; s=arc-20160816; b=TqcJIKOkFjrzXzzx39eObcnt8qHo3BEYx7pVQD9b1H2yOzO2BNHhLUCj0ZE9mIc3P5 jPMavhVULNQknkDx8xJD9akGr0ET7E9lkCfh8HyLOKITWKZrzD2sNxHcwDMr6BBE4Ulw rv35HYwvba4G8oJLwbryOGrEfXr+eSJtY75pQ7wttvvRp23Ckkv5u6i5TtZDY3kNthXm 3DOMuV5gFih4z/+hf0F6SmsLyuwelN9HU3YtS+skKaaRqFx5Pd3cRTobCrF2ZBeX8RaE ox14fi1D0uIFvOS0oECAfs1NK9VPEqUwFogNWTSxoFgpMPahc2tyccDfRaGITf5bTdz+ NSEA== 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=8891D8aTri1mcq0+0eqgdZIm+iHh83oT0RouOCkFH6E=; b=tVNSugT31j8Jrr1Iqsf6yJlAeX+wwTJUoZsnk1bWnZJrD7j+U+aPyO/4QG+ygXfiaq 6ob6c8nQ/pq/E7I1l8EajUBHggXl5wUKOkW7QcVrCJbxrHeSWB+HsQC6NbqUbj2tlHuj vjV4bhzryWatfZw/9z44xCRgId3kbSrxJ2SJdCUt/dpuAu0C8AC2IrFMjh9iRlDDXvSa T9LOxOo4nBgrb3OBdHU9uu72E5K2FrN19uAdWFuC82LT+Wu9cSABLGIqWAERIdfFY/Qo 5kWELyJ4SV9PUiI+EaIyG6LgcmBvExG25ARMczUASbeKSIUcEfe83QY2Smz8g6J9FiqW kWBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g2hVE6dr; 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 h7-20020a170902ac8700b00156a7f60b5bsi7644988plr.379.2022.04.06.01.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:49:23 -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=g2hVE6dr; 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 EBD8058E40A; Wed, 6 Apr 2022 01:34:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359306AbiDEVPq (ORCPT + 99 others); Tue, 5 Apr 2022 17:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444550AbiDEPlj (ORCPT ); Tue, 5 Apr 2022 11:41:39 -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 0375AF8EE6 for ; Tue, 5 Apr 2022 07:05:46 -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 AF3ABB81DD6 for ; Tue, 5 Apr 2022 14:05:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD7CC385A6; Tue, 5 Apr 2022 14:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649167543; bh=Mm6htJ9QXhibJuptol/3kgU+rb9dRyr5kKvhCP6Pey8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g2hVE6drCRXDZpJo5aLZ3PO7bKakIRz5fw4e83rgXNb5uBxju8zGTTiUzRTH8lgS9 Iq7ghmIJuzpN8xeZbxYgpMTOlppvJEhiAOIxGukPf9nC17SKRcnEAsccOLHkjL+iQe blc/mkonzw/Fp5HSjjQlmAf2RhNlOO9+KVcsdO3Q= Date: Tue, 5 Apr 2022 16:05:40 +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 4/5] staging: rtl8723bs: fix indentation Message-ID: References: <3bb9687a1057619334d95832f803c9b8d7e7fa63.1649128267.git.sevinj.aghayeva@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3bb9687a1057619334d95832f803c9b8d7e7fa63.1649128267.git.sevinj.aghayeva@gmail.com> 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 Mon, Apr 04, 2022 at 11:16:11PM -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 | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > index c06be65b45cf..5eddff488f27 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > @@ -5145,9 +5145,9 @@ void link_timer_hdl(struct timer_list *t) > if (++pmlmeinfo->reauth_count > REAUTH_LIMIT) { > /* if (pmlmeinfo->auth_algo != dot11AuthAlgrthm_Auto) */ > /* */ > - pmlmeinfo->state = 0; > - report_join_res(padapter, -1); > - return; > + pmlmeinfo->state = 0; > + report_join_res(padapter, -1); > + return; > /* */ > /* else */ > /* */ Please remove these comments around here at the same time, as the indentation did make sense with those there, but now it's really messy. thanks, greg k-h