Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp71411ybi; Tue, 18 Jun 2019 17:39:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYBipwbWtAUVgWD7dKOgcLFtEBNtIob2pvjMcXUr9kwMCV3/NVoba7Fth1bKjmwilcDwIk X-Received: by 2002:a17:902:7883:: with SMTP id q3mr115084186pll.89.1560904766083; Tue, 18 Jun 2019 17:39:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560904766; cv=none; d=google.com; s=arc-20160816; b=laJb1oTf6Vp7ievtSODzE+sHrDO3jT2+oiWb0m/1SZ9GNRyvf/LzercOyNXt/1dfmY /MUc2FI0LwLT7H2DQG8nx6Xn4FdUHFLhuKTA8GvoYzsewrlT62pCbKjczRkTZbUfSBS1 CBQG9e7EPw4MLyYKToUlFv0lG261VLrwuDHsRvhoGyT9PtL4hQQfbH4GGFlOQd7lPcEg WSdCi8SntMOdz6QagXof0Z2qBsjKDP8h/yoL0X1pVIC/NjeLHVpdGWM7HrbVLQXYMi4H 4MKpUlJLfXvrbOyJnpcymFWic1HUNPjosSDF+3J21WF/q+szGv56hsN0m9DYydXhZDFc 4JPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=Bl4ZB5AKo3Ojo0KbLAkYeawsDDC/1j35REkKvkzHQM0=; b=nDOhjMR2t5gyfh4f8WWPMaZiUTrVL+H9SV3+zAxKFEVh4b+pkDKHwWIc74O/um/Xpb Dcn8U2Hx66YrR8+Tx1PpSU+wZVqAN/hZtofOim0oWnA19OfGa72T8jdZJBAv3F8GwKve LH7QtdgcySpt523UDBIZLEM8Xt1rUYAhhLV5O7KOz9/VCf56oip8MiJIdtRIZFFzywA5 0HmMpXEe+bMR4oJ2Ca2mZp8g1Fy0qr+A9d5Pp5Y0nvCM2WkMelHTxegpCay4stnLDL6l ViAFu3/IYkIHXrLSwemKunK2FDrrFPK/Futj+Kcr2vp+nHqfGJ5qJ9zzvvMViy04xR3+ skBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MworLe62; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si1586433pgh.98.2019.06.18.17.39.10; Tue, 18 Jun 2019 17:39:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MworLe62; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729581AbfFSAiU (ORCPT + 99 others); Tue, 18 Jun 2019 20:38:20 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38955 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfFSAiR (ORCPT ); Tue, 18 Jun 2019 20:38:17 -0400 Received: by mail-pg1-f196.google.com with SMTP id 196so8600459pgc.6 for ; Tue, 18 Jun 2019 17:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Bl4ZB5AKo3Ojo0KbLAkYeawsDDC/1j35REkKvkzHQM0=; b=MworLe621CZHwckohZ2C4nmq/YIMa1LI0E8FN1pI8fMmJvLNo2DEEveri1heBM/hJD 1K4CKSNqVayTjkso6YQDeD1CoHCb1XzRVnDnSGnd5Dd8sWiuNyzVoFJ3qX4L1QVVZqG1 kWDD5BhDR3uD/zaa2hOgqsSodTpCy8rEYwq+t6XqfHYtIfZAK5huEGB2xXYHQtTvf62A E9sbtnjpUwh6L7xQ/vMWeWlhvevL/NYGQZG9di0qdtGPk5ZU9GUnhD+kUCjut+knshN9 fw243ECi61MReDKY83ml3sDWoU9d7KafH5MxYrsHPjXHusm2ogVg90ddhWyezegqm2p0 aoSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Bl4ZB5AKo3Ojo0KbLAkYeawsDDC/1j35REkKvkzHQM0=; b=sURbd6jK5eMT2Zl2ZtTnm3Yu611hwrygr1KgGyBcToKeB+1KNS96Uyy52P+0KOktwQ lkaRrbMR9mJRX6XK9PdCViJ1jT9RF1r6DWoMHm6hy99iKtKxhn/tuwVUK5o3lnSNb/CR y5mAw+DRQqS2tc/Z8U9XNp/sKqce63geBw+u5327cWyz9Yr8EkVhf0JEG88Yc/hPEPoU CuD6wEQLfca6f6/5BYdw0FNGMsayPtRfUcMLG8Z/TYVtOlTCu4E9zcUrb7SV0ua/ZpJo f7YKYNhTM7NBhiRm8bMqvzd1unvVQpQAsstEZtTxHjbvzVadlLmZwSC/6b9eTlpxEP7+ 7yTw== X-Gm-Message-State: APjAAAX8D/Fr2p9VwU8IDke4NKVJ/Ukb5kJ8/0Qm7KWIKJY+CrFCUHZZ abH2JWC2CjOwFFQ87BhRotY= X-Received: by 2002:a63:1658:: with SMTP id 24mr4422453pgw.167.1560904696454; Tue, 18 Jun 2019 17:38:16 -0700 (PDT) Received: from localhost.localdomain (c-98-210-58-162.hsd1.ca.comcast.net. [98.210.58.162]) by smtp.gmail.com with ESMTPSA id x26sm14217860pfq.69.2019.06.18.17.38.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Jun 2019 17:38:16 -0700 (PDT) From: Shobhit Kukreti To: Greg Kroah-Hartman Cc: Bastien Nocera , Hans de Goede , Larry Finger , Joe Perches , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Shobhit Kukreti Subject: [PATCH v4 3/3] staging: rtl8723bs: Fix Indentation Error: code indent should use tabs where possible Date: Tue, 18 Jun 2019 17:37:34 -0700 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: <20190618070019.GA20601@kroah.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resolve indentation errors which were caused by a mix of space and tabs for indentation. Previous patch to fix if-else brace styles revealed the indentation error Signed-off-by: Shobhit Kukreti --- drivers/staging/rtl8723bs/os_dep/recv_linux.c | 6 ++--- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 36 +++++++++++++-------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/recv_linux.c b/drivers/staging/rtl8723bs/os_dep/recv_linux.c index 746f074..643cacc 100644 --- a/drivers/staging/rtl8723bs/os_dep/recv_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/recv_linux.c @@ -202,9 +202,9 @@ void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup) memset(&ev, 0x00, sizeof(ev)); if (bgroup) { - ev.flags |= IW_MICFAILURE_GROUP; + ev.flags |= IW_MICFAILURE_GROUP; } else { - ev.flags |= IW_MICFAILURE_PAIRWISE; + ev.flags |= IW_MICFAILURE_PAIRWISE; } ev.src_addr.sa_family = ARPHRD_ETHER; @@ -297,7 +297,7 @@ int rtw_recv_indicatepkt(struct adapter *padapter, union recv_frame *precv_frame RT_TRACE(_module_recv_osdep_c_, _drv_info_, ("\n rtw_recv_indicatepkt :after rtw_os_recv_indicate_pkt!!!!\n")); - return _SUCCESS; + return _SUCCESS; _recv_indicatepkt_drop: diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index 9c408d9..540a7ee 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c @@ -100,26 +100,26 @@ static int sdio_alloc_irq(struct dvobj_priv *dvobj) static void sdio_free_irq(struct dvobj_priv *dvobj) { - struct sdio_data *psdio_data; - struct sdio_func *func; - int err; - - if (dvobj->irq_alloc) { - psdio_data = &dvobj->intf_data; - func = psdio_data->func; - - if (func) { - sdio_claim_host(func); - err = sdio_release_irq(func); - if (err) { + struct sdio_data *psdio_data; + struct sdio_func *func; + int err; + + if (dvobj->irq_alloc) { + psdio_data = &dvobj->intf_data; + func = psdio_data->func; + + if (func) { + sdio_claim_host(func); + err = sdio_release_irq(func); + if (err) { dvobj->drv_dbg.dbg_sdio_free_irq_error_cnt++; DBG_871X_LEVEL(_drv_err_,"%s: sdio_release_irq FAIL(%d)!\n", __func__, err); - } else - dvobj->drv_dbg.dbg_sdio_free_irq_cnt++; - sdio_release_host(func); - } - dvobj->irq_alloc = 0; - } + } else + dvobj->drv_dbg.dbg_sdio_free_irq_cnt++; + sdio_release_host(func); + } + dvobj->irq_alloc = 0; + } } #ifdef CONFIG_GPIO_WAKEUP -- 2.7.4