From patchwork Tue Jun 25 04:13:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karthikeyan periyasamy X-Patchwork-Id: 11014653 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E2BEB13AF for ; Tue, 25 Jun 2019 04:13:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D23AB28A38 for ; Tue, 25 Jun 2019 04:13:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C687428A9C; Tue, 25 Jun 2019 04:13:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F97D28A38 for ; Tue, 25 Jun 2019 04:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rCn5tVFvLXa9pqTYvIW7cqOIPVqjv5eSZSz7/XVE5JI=; b=HsmfLKl+P98I+nhmOSqRY9QMBo KU7mnm7qQM2lvEN7hqeocWfOZTFHcN1pxU1F+iWxCHKnXyZOFTLQS0kBaPb/cPHc9KG+4bY13yxmK LNMAu2RKmGuc42tRvnqjmDYxB3RUHI8OS+rqvQCcDEG7SiLgAlkIfimnw0fUSE30qLcsdME1eo495 0qfCiid57hIVOFo7LYXp0j5DvIbL40UTeLRmq4i9sZFupgxsF9+dibM++MHiPfkilS/xha0dnFj+t 9lSEJZaxXKRXMexVtxDpr5CJg2nVO0Mvn41lLpau3kBrR7TEKaiaf2cNE6/mqNlrlJcKsf0FA1Rid ZPnsql2A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfcq6-0003I7-GD; Tue, 25 Jun 2019 04:13:50 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfcq3-0003G5-E9 for ath11k@lists.infradead.org; Tue, 25 Jun 2019 04:13:48 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2F2D5608CE; Tue, 25 Jun 2019 04:13:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561436027; bh=SH6EMPzbmuGakYzgDX7aoFHLtQRNwEnSSOPwu5wKM9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fvC0GSh9BwnMlTAZ8tJ/myyuAnlDYTblpaQDvSvMl3wb4yD1/ye9CPrjpRhTjhJHl d8eqL6JHgyXyzg1ShBNIf2Zc/PREfxZrceZWprOPwhssYmjDvoEaMBvo49njKFVnwm ISEp9Y513/7kS/UZksOWj98KA6JWAFW4aR8I3Vgg= Received: from CHECSTP284781-LIN.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: periyasa@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id D354D608A5; Tue, 25 Jun 2019 04:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561436026; bh=SH6EMPzbmuGakYzgDX7aoFHLtQRNwEnSSOPwu5wKM9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X3yD4j7BSdGCTCHLLYP3yUVKOYUOIIYX6v6qOI8IpOfcIXdR4vXHA1+87ybai0KEk SUIbQCnpgdAcGe6tb0+hDqDHDLnp+b91kC9aLW9lGP8m38x7aCZFFwVE2Kfsff4Sk3 YfO2kPwsq1zbzCrS/38frfU5HFLN0/7d/wtSsrIQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D354D608A5 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=periyasa@codeaurora.org From: Karthikeyan Periyasamy To: ath11k@lists.infradead.org Subject: [PATCH 3/5] ath11k: fix space related warnings Date: Tue, 25 Jun 2019 09:43:17 +0530 Message-Id: <1561435999-28316-3-git-send-email-periyasa@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1561435999-28316-1-git-send-email-periyasa@codeaurora.org> References: <1561435999-28316-1-git-send-email-periyasa@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_211347_508879_F0E7107E X-CRM114-Status: GOOD ( 11.67 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Karthikeyan Periyasamy MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/net/wireless/ath/ath11k/dp.h:1482: Please don't use multiple blank lines drivers/net/wireless/ath/ath11k/dp_rx.c:1072: code indent should use tabs where possible drivers/net/wireless/ath/ath11k/dp_rx.c:1075: code indent should use tabs where possible drivers/net/wireless/ath/ath11k/wmi.c:2321: "(foo*)" should be "(foo *)" Signed-off-by: Karthikeyan Periyasamy --- drivers/net/wireless/ath/ath11k/dp.h | 1 - drivers/net/wireless/ath/ath11k/dp_rx.c | 4 ++-- drivers/net/wireless/ath/ath11k/wmi.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/dp.h index d533d7e..bda5ac2 100644 --- a/drivers/net/wireless/ath/ath11k/dp.h +++ b/drivers/net/wireless/ath/ath11k/dp.h @@ -1482,7 +1482,6 @@ struct ath11k_htt_extd_stats_msg { u8 data[0]; } __packed; - struct htt_mac_addr { u32 mac_addr_l32; u32 mac_addr_h16; diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 17be3cc..0158f90 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -1069,10 +1069,10 @@ static u32 ath11k_bw_to_mac80211_bwflags(u8 bw) mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); sgi = HTT_USR_RATE_GI(user_rate->rate_flags); - /* Note: If host configured fixed rates and in some other special + /* Note: If host configured fixed rates and in some other special * cases, the broadcast/management frames are sent in different rates. * Firmware rate's control to be skipped for this? - */ + */ if (flags == WMI_RATE_PREAMBLE_VHT && mcs > 9) { ath11k_warn(ab, "Invalid VHT mcs %hhd peer stats", mcs); diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index 085ee32..f56db77 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -2318,7 +2318,7 @@ int ath11k_wmi_pdev_peer_pktlog_filter(struct ath11k *ar, u8 *addr, u8 enable) FIELD_PREP(WMI_TLV_LEN, 0); ptr += TLV_HDR_SIZE; - info = (struct wmi_pdev_pktlog_filter_info*)ptr; + info = (struct wmi_pdev_pktlog_filter_info *)ptr; ether_addr_copy(info->peer_macaddr.addr, addr); info->tlv_header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_PDEV_PEER_PKTLOG_FILTER_INFO) |