From: Karthikeyan Periyasamy <periyasa@codeaurora.org>
To: ath11k@lists.infradead.org
Cc: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Subject: [PATCH 3/5] ath11k: fix space related warnings
Date: Tue, 25 Jun 2019 09:43:17 +0530 [thread overview]
Message-ID: <1561435999-28316-3-git-send-email-periyasa@codeaurora.org> (raw)
In-Reply-To: <1561435999-28316-1-git-send-email-periyasa@codeaurora.org>
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 <periyasa@codeaurora.org>
---
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) |
--
1.9.1
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
next prev parent reply other threads:[~2019-06-25 4:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-25 4:13 [PATCH 1/5] ath11k: fix variable name warnings Karthikeyan Periyasamy
2019-06-25 4:13 ` [PATCH 2/5] ath11k: avoid unnecessary 'out of memory' message Karthikeyan Periyasamy
2019-06-25 4:13 ` Karthikeyan Periyasamy [this message]
2019-06-25 4:13 ` [PATCH 4/5] ath11k: avoid min() warning Karthikeyan Periyasamy
2019-06-25 4:13 ` [PATCH 5/5] ath11k: fix brace warning Karthikeyan Periyasamy
2019-06-25 14:26 ` [PATCH 1/5] ath11k: fix variable name warnings Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1561435999-28316-3-git-send-email-periyasa@codeaurora.org \
--to=periyasa@codeaurora.org \
--cc=ath11k@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox