Skip to contentSkip to conversation

net: wireless: remove leading spaces before tabs

PATCH In review Hui Tang 2 participants 5 messages May 19, 2021 – Jun 15, 2021

Subsystems (3)
lore
Share & tools
lore

Hui Tang

author
#0 lore raw

cover net: wireless: remove leading spaces before tabs

There are a few leading spaces before tabs and remove it by running the following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'

Hui Tang (3):
net: libertas: remove leading spaces before tabs
rt2x00: remove leading spaces before tabs
net: ti: remove leading spaces before tabs

 drivers/net/wireless/marvell/libertas/main.c   | 2 +-
 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 2 +-
 drivers/net/wireless/ti/wlcore/main.c          | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

--
2.8.1

author
#1 lore raw

PATCH 1/3 net: libertas: remove leading spaces before tabs

There are a few leading spaces before tabs and remove it by running the following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc Ganapathi Bhat <[email protected]>
---
 drivers/net/wireless/marvell/libertas/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/libertas/main.c +1 -1
index ee4cf34..64fc5e4 100644
@@ -941,7 +941,7 @@ struct lbs_private *lbs_add_card(void *card, struct device *dmdev)
 	wdev->netdev = dev;
 	priv->dev = dev;
 
- 	dev->netdev_ops = &lbs_netdev_ops;
+	dev->netdev_ops = &lbs_netdev_ops;
 	dev->watchdog_timeo = 5 * HZ;
 	dev->ethtool_ops = &lbs_ethtool_ops;
 	dev->flags |= IFF_BROADCAST | IFF_MULTICAST;
Signature · 1 line
2.8.1
#2 lore raw

Re: [1/3] libertas: remove leading spaces before tabs

Quoted 8 lines · Hui Tang

There are a few leading spaces before tabs and remove it by running the following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc Ganapathi Bhat <[email protected]>

3 patches applied to wireless-drivers-next.git, thanks.

bd65fe550973 libertas: remove leading spaces before tabs 084eb606dbcf rt2x00: remove leading spaces before tabs 7b7362ba27a2 wlcore: remove leading spaces before tabs

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
author
#3 lore raw

PATCH 2/3 rt2x00: remove leading spaces before tabs

In reply to Hui Tang

There are a few leading spaces before tabs and remove it by running the following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc Stanislaw Gruszka <[email protected]>
---
 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ralink/rt2x00/rt2800lib.c +1 -1
index 5264b0a..deddb0a 100644
@@ -1037,7 +1037,7 @@ void rt2800_txdone_entry(struct queue_entry *entry, u32 status, __le32 *txwi,
 	 * FIXME: if we do not find matching entry, we tell that frame was
 	 * posted without any retries. We need to find a way to fix that
 	 * and provide retry count.
- 	 */
+	 */
 	if (unlikely((aggr == 1 && ampdu == 0 && real_mcs != mcs)) || !match) {
 		rt2800_rate_from_status(skbdesc, status, rt2x00dev->curr_band);
 		mcs = real_mcs;
Signature · 1 line
2.8.1
author
#4 lore raw

PATCH 3/3 net: ti: remove leading spaces before tabs

In reply to Hui Tang

There are a few leading spaces before tabs and remove it by running the following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc Tony Lindgren <[email protected]>
---
 drivers/net/wireless/ti/wlcore/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/ti/wlcore/main.c +2 -2
index 8509b98..e500b84 100644
@@ -3242,8 +3242,8 @@ static void wl1271_op_configure_filter(struct ieee80211_hw *hw,
 		 * the firmware filters so that all multicast packets are passed
 		 * This is mandatory for MDNS based discovery protocols 
 		 */
- 		if (wlvif->bss_type == BSS_TYPE_AP_BSS) {
- 			if (*total & FIF_ALLMULTI) {
+		if (wlvif->bss_type == BSS_TYPE_AP_BSS) {
+			if (*total & FIF_ALLMULTI) {
 				ret = wl1271_acx_group_address_tbl(wl, wlvif,
 							false,
 							NULL, 0);
Signature · 1 line
2.8.1