All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] staging: ks7010: some new cleanups
@ 2018-04-16 10:29 Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues Sergio Paracuellos
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This patch series continue with the driver cleanups. It just contains
trivial cleanups in some files of the driver. For this to be applied
properly previous sent patch series must be applied before.

Sergio Paracuellos (10):
  staging: ks7010: use linux circular buffer header macros to handle tx
    and rx queues
  staging: ks7010: change name and type for device_open_status field
  staging: ks7010: avoid one level indentation in devio_rec_ind function
  staging: ks7010: remove superfluous comments in ks_hostif source file
  staging: ks7010: change return value of ks_wlan_do_power_save function
  staging: ks7010: remove nonsense break from case block
  staging: ks7010: refactor code for hostif_sme_sleep_set function
  staging: ks7010: fix warning aout long line in init_request
  staging: ks7010: avoid blank line between definitions in
    hostif_data_request
  staging: ks7010: group some cases in switch-case block in
    hostif_mib_set_confirm

 drivers/staging/ks7010/ks7010_sdio.c |  49 ++++++++++-------
 drivers/staging/ks7010/ks_hostif.c   | 100 +++++++++++------------------------
 drivers/staging/ks7010/ks_wlan.h     |   2 +-
 drivers/staging/ks7010/ks_wlan_net.c |   4 +-
 4 files changed, 64 insertions(+), 91 deletions(-)

-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-23 12:30   ` Greg KH
  2018-04-16 10:29 ` [PATCH 02/10] staging: ks7010: change name and type for device_open_status field Sergio Paracuellos
                   ` (8 subsequent siblings)
  9 siblings, 1 reply; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit replace current custom implementation of some circular
buffer head and tail logic in favour of the use of macros defined
in linux circ_buf.h header. Queue related inline function names
have been review also.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks7010_sdio.c | 49 ++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 19 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 9c591e0..fedcbb3 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -10,6 +10,7 @@
  *   published by the Free Software Foundation.
  */
 
+#include <linux/circ_buf.h>
 #include <linux/firmware.h>
 #include <linux/mmc/card.h>
 #include <linux/mmc/sdio_func.h>
@@ -111,11 +112,10 @@ static inline void inc_txqtail(struct ks_wlan_private *priv)
 	priv->tx_dev.qtail = (priv->tx_dev.qtail + 1) % TX_DEVICE_BUFF_SIZE;
 }
 
-static inline unsigned int cnt_txqbody(struct ks_wlan_private *priv)
+static inline bool txq_has_space(struct ks_wlan_private *priv)
 {
-	unsigned int tx_cnt = priv->tx_dev.qtail - priv->tx_dev.qhead;
-
-	return (tx_cnt + TX_DEVICE_BUFF_SIZE) % TX_DEVICE_BUFF_SIZE;
+	return (CIRC_SPACE(priv->tx_dev.qhead, priv->tx_dev.qtail,
+			   TX_DEVICE_BUFF_SIZE) > 0);
 }
 
 static inline void inc_rxqhead(struct ks_wlan_private *priv)
@@ -128,11 +128,22 @@ static inline void inc_rxqtail(struct ks_wlan_private *priv)
 	priv->rx_dev.qtail = (priv->rx_dev.qtail + 1) % RX_DEVICE_BUFF_SIZE;
 }
 
-static inline unsigned int cnt_rxqbody(struct ks_wlan_private *priv)
+static inline bool rxq_has_space(struct ks_wlan_private *priv)
+{
+	return (CIRC_SPACE(priv->rx_dev.qhead, priv->rx_dev.qtail,
+			   RX_DEVICE_BUFF_SIZE) > 0);
+}
+
+static inline unsigned int txq_count(struct ks_wlan_private *priv)
 {
-	unsigned int rx_cnt = priv->rx_dev.qtail - priv->rx_dev.qhead;
+	return CIRC_CNT_TO_END(priv->tx_dev.qhead, priv->tx_dev.qtail,
+			       TX_DEVICE_BUFF_SIZE);
+}
 
-	return (rx_cnt + RX_DEVICE_BUFF_SIZE) % RX_DEVICE_BUFF_SIZE;
+static inline unsigned int rxq_count(struct ks_wlan_private *priv)
+{
+	return CIRC_CNT_TO_END(priv->rx_dev.qhead, priv->rx_dev.qtail,
+			       RX_DEVICE_BUFF_SIZE);
 }
 
 /* Read single byte from device address into byte (CMD52) */
@@ -258,11 +269,11 @@ static void _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
 		   atomic_read(&priv->psstatus.status),
 		   atomic_read(&priv->psstatus.confirm_wait),
 		   atomic_read(&priv->psstatus.snooze_guard),
-		   cnt_txqbody(priv));
+		   txq_count(priv));
 
 	if (atomic_read(&priv->psstatus.confirm_wait) ||
 	    atomic_read(&priv->psstatus.snooze_guard) ||
-	    cnt_txqbody(priv)) {
+	    txq_has_space(priv)) {
 		queue_delayed_work(priv->wq, &priv->rw_dwork, 0);
 		return;
 	}
@@ -308,7 +319,7 @@ static int enqueue_txdev(struct ks_wlan_private *priv, unsigned char *p,
 		goto err_complete;
 	}
 
-	if ((TX_DEVICE_BUFF_SIZE - 1) <= cnt_txqbody(priv)) {
+	if ((TX_DEVICE_BUFF_SIZE - 1) <= txq_count(priv)) {
 		netdev_err(priv->net_dev, "tx buffer overflow\n");
 		ret = -EOVERFLOW;
 		goto err_complete;
@@ -366,7 +377,7 @@ static void tx_device_task(struct ks_wlan_private *priv)
 	struct tx_device_buffer *sp;
 	int ret;
 
-	if (cnt_txqbody(priv) <= 0 ||
+	if (!txq_has_space(priv) ||
 	    atomic_read(&priv->psstatus.status) == PS_SNOOZE)
 		return;
 
@@ -385,7 +396,7 @@ static void tx_device_task(struct ks_wlan_private *priv)
 		(*sp->complete_handler)(priv, sp->skb);
 	inc_txqhead(priv);
 
-	if (cnt_txqbody(priv) > 0)
+	if (txq_has_space(priv))
 		queue_delayed_work(priv->wq, &priv->rw_dwork, 0);
 }
 
@@ -413,7 +424,7 @@ int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
 	result = enqueue_txdev(priv, p, size, complete_handler, skb);
 	spin_unlock(&priv->tx_dev.tx_dev_lock);
 
-	if (cnt_txqbody(priv) > 0)
+	if (txq_has_space(priv))
 		queue_delayed_work(priv->wq, &priv->rw_dwork, 0);
 
 	return result;
@@ -424,12 +435,12 @@ static void rx_event_task(unsigned long dev)
 	struct ks_wlan_private *priv = (struct ks_wlan_private *)dev;
 	struct rx_device_buffer *rp;
 
-	if (cnt_rxqbody(priv) > 0 && priv->dev_state >= DEVICE_STATE_BOOT) {
+	if (rxq_has_space(priv) && priv->dev_state >= DEVICE_STATE_BOOT) {
 		rp = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qhead];
 		hostif_receive(priv, rp->data, rp->size);
 		inc_rxqhead(priv);
 
-		if (cnt_rxqbody(priv) > 0)
+		if (rxq_has_space(priv))
 			tasklet_schedule(&priv->rx_bh_task);
 	}
 }
@@ -442,7 +453,7 @@ static void ks_wlan_hw_rx(struct ks_wlan_private *priv, uint16_t size)
 	unsigned short event = 0;
 
 	/* receive data */
-	if (cnt_rxqbody(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) {
+	if (rxq_count(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) {
 		netdev_err(priv->net_dev, "rx buffer overflow\n");
 		return;
 	}
@@ -513,7 +524,7 @@ static void ks7010_rw_function(struct work_struct *work)
 
 	/* power save wakeup */
 	if (atomic_read(&priv->psstatus.status) == PS_SNOOZE) {
-		if (cnt_txqbody(priv) > 0) {
+		if (txq_has_space(priv)) {
 			ks_wlan_hw_wakeup_request(priv);
 			queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
 		}
@@ -604,7 +615,7 @@ static void ks_sdio_interrupt(struct sdio_func *func)
 
 		if (byte & WSTATUS_MASK) {
 			if (atomic_read(&priv->psstatus.status) == PS_SNOOZE) {
-				if (cnt_txqbody(priv)) {
+				if (txq_has_space(priv)) {
 					ks_wlan_hw_wakeup_request(priv);
 					queue_delayed_work(priv->wq,
 							   &priv->rw_dwork, 1);
@@ -641,7 +652,7 @@ static void trx_device_exit(struct ks_wlan_private *priv)
 	struct tx_device_buffer *sp;
 
 	/* tx buffer clear */
-	while (cnt_txqbody(priv) > 0) {
+	while (txq_has_space(priv)) {
 		sp = &priv->tx_dev.tx_dev_buff[priv->tx_dev.qhead];
 		kfree(sp->sendp);
 		if (sp->complete_handler)	/* TX Complete */
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 02/10] staging: ks7010: change name and type for device_open_status field
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 03/10] staging: ks7010: avoid one level indentation in devio_rec_ind function Sergio Paracuellos
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit changes type for device_open_status field of ks_wlan_private
structure from int to bool. This variable is only be set to 1
on ks_wlan_net_start and set to 0 on ks_wlan_net_stop. For this
purpose it is not necessary at all to use an integer because a bool
is enough. This also renames field name from device_open_status to
is_device_open.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c   | 2 +-
 drivers/staging/ks7010/ks_wlan.h     | 2 +-
 drivers/staging/ks7010/ks_wlan_net.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index f6ac9f0..995cb9a 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1569,7 +1569,7 @@ void hostif_mic_failure_request(struct ks_wlan_private *priv,
 static void devio_rec_ind(struct ks_wlan_private *priv, unsigned char *p,
 			  unsigned int size)
 {
-	if (priv->device_open_status) {
+	if (priv->is_device_open) {
 		spin_lock(&priv->dev_read_lock);	/* request spin lock */
 		priv->dev_data[atomic_read(&priv->rec_count)] = p;
 		priv->dev_size[atomic_read(&priv->rec_count)] = size;
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 1b7036c..c1bab57 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -443,7 +443,7 @@ struct ks_wlan_private {
 	unsigned int need_commit;	/* for ioctl */
 
 	/* DeviceIoControl */
-	int device_open_status;
+	bool is_device_open;
 	atomic_t event_count;
 	atomic_t rec_count;
 	int dev_count;
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index c0cea2f..5a4d661 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2877,7 +2877,7 @@ int ks_wlan_net_start(struct net_device *dev)
 	priv->mac_address_valid = false;
 	priv->need_commit = 0;
 
-	priv->device_open_status = 1;
+	priv->is_device_open = true;
 
 	/* phy information update timer */
 	atomic_set(&update_phyinfo, 0);
@@ -2908,7 +2908,7 @@ int ks_wlan_net_stop(struct net_device *dev)
 {
 	struct ks_wlan_private *priv = netdev_priv(dev);
 
-	priv->device_open_status = 0;
+	priv->is_device_open = false;
 	del_timer_sync(&update_phyinfo_timer);
 
 	if (netif_running(dev))
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 03/10] staging: ks7010: avoid one level indentation in devio_rec_ind function
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 02/10] staging: ks7010: change name and type for device_open_status field Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 04/10] staging: ks7010: remove superfluous comments in ks_hostif source file Sergio Paracuellos
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit changes logic to handle with the status of the device
at first checking for close state to return directly instead
of just do the stuff when device is open. This improves readability
avoiding one level indentation.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 995cb9a..ceec638 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1569,24 +1569,25 @@ void hostif_mic_failure_request(struct ks_wlan_private *priv,
 static void devio_rec_ind(struct ks_wlan_private *priv, unsigned char *p,
 			  unsigned int size)
 {
-	if (priv->is_device_open) {
-		spin_lock(&priv->dev_read_lock);	/* request spin lock */
-		priv->dev_data[atomic_read(&priv->rec_count)] = p;
-		priv->dev_size[atomic_read(&priv->rec_count)] = size;
-
-		if (atomic_read(&priv->event_count) != DEVICE_STOCK_COUNT) {
-			/* rx event count inc */
-			atomic_inc(&priv->event_count);
-		}
-		atomic_inc(&priv->rec_count);
-		if (atomic_read(&priv->rec_count) == DEVICE_STOCK_COUNT)
-			atomic_set(&priv->rec_count, 0);
+	if (!priv->is_device_open)
+		return;
 
-		wake_up_interruptible_all(&priv->devread_wait);
+	spin_lock(&priv->dev_read_lock);	/* request spin lock */
+	priv->dev_data[atomic_read(&priv->rec_count)] = p;
+	priv->dev_size[atomic_read(&priv->rec_count)] = size;
 
-		/* release spin lock */
-		spin_unlock(&priv->dev_read_lock);
+	if (atomic_read(&priv->event_count) != DEVICE_STOCK_COUNT) {
+		/* rx event count inc */
+		atomic_inc(&priv->event_count);
 	}
+	atomic_inc(&priv->rec_count);
+	if (atomic_read(&priv->rec_count) == DEVICE_STOCK_COUNT)
+		atomic_set(&priv->rec_count, 0);
+
+	wake_up_interruptible_all(&priv->devread_wait);
+
+	/* release spin lock */
+	spin_unlock(&priv->dev_read_lock);
 }
 
 void hostif_receive(struct ks_wlan_private *priv, unsigned char *p,
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 04/10] staging: ks7010: remove superfluous comments in ks_hostif source file
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (2 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 03/10] staging: ks7010: avoid one level indentation in devio_rec_ind function Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 05/10] staging: ks7010: change return value of ks_wlan_do_power_save function Sergio Paracuellos
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes some comments which are not necessary at all
because code is clear enough to understand its intention.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 39 +++++++-------------------------------
 1 file changed, 7 insertions(+), 32 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index ceec638..f510c74 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -17,9 +17,7 @@
 #include <linux/etherdevice.h>
 #include <linux/if_ether.h>
 #include <linux/if_arp.h>
-
-/* Include Wireless Extension definition and check version */
-#include <net/iw_handler.h>	/* New driver API */
+#include <net/iw_handler.h>
 
 static inline void inc_smeqhead(struct ks_wlan_private *priv)
 {
@@ -118,34 +116,24 @@ int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info_t *ap_info)
 		return -EPERM;
 	}
 
-	/* bssid */
 	memcpy(ap->bssid, ap_info->bssid, ETH_ALEN);
-	/* essid */
 	memcpy(ap->ssid.body, priv->reg.ssid.body,
 	       priv->reg.ssid.size);
 	ap->ssid.size = priv->reg.ssid.size;
-	/* rate_set */
 	memcpy(ap->rate_set.body, ap_info->rate_set.body,
 	       ap_info->rate_set.size);
 	ap->rate_set.size = ap_info->rate_set.size;
 	if (ap_info->ext_rate_set.size != 0) {
-		/* rate_set */
 		memcpy(&ap->rate_set.body[ap->rate_set.size],
 		       ap_info->ext_rate_set.body,
 		       ap_info->ext_rate_set.size);
 		ap->rate_set.size += ap_info->ext_rate_set.size;
 	}
-	/* channel */
 	ap->channel = ap_info->ds_parameter.channel;
-	/* rssi */
 	ap->rssi = ap_info->rssi;
-	/* sq */
 	ap->sq = ap_info->sq;
-	/* noise */
 	ap->noise = ap_info->noise;
-	/* capability */
 	ap->capability = le16_to_cpu(ap_info->capability);
-	/* rsn */
 	if ((ap_info->rsn_mode & RSN_MODE_WPA2) &&
 	    (priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2)) {
 		ap->rsn_ie.id = 0x30;
@@ -229,17 +217,11 @@ int get_ap_information(struct ks_wlan_private *priv, struct ap_info_t *ap_info,
 
 	memset(ap, 0, sizeof(struct local_ap_t));
 
-	/* bssid */
 	memcpy(ap->bssid, ap_info->bssid, ETH_ALEN);
-	/* rssi */
 	ap->rssi = ap_info->rssi;
-	/* sq */
 	ap->sq = ap_info->sq;
-	/* noise */
 	ap->noise = ap_info->noise;
-	/* capability */
 	ap->capability = le16_to_cpu(ap_info->capability);
-	/* channel */
 	ap->channel = ap_info->ch_info;
 
 	bp = ap_info->body;
@@ -507,7 +489,6 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 	mib_val_type = get_word(priv);	/* MIB value type */
 
 	if (mib_status) {
-		/* in case of error */
 		netdev_err(priv->net_dev, "attribute=%08X, status=%08X\n",
 			   mib_attribute, mib_status);
 		return;
@@ -515,7 +496,6 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 
 	switch (mib_attribute) {
 	case DOT11_MAC_ADDRESS:
-		/* MAC address */
 		hostif_sme_enqueue(priv, SME_GET_MAC_ADDRESS);
 		memcpy(priv->eth_addr, priv->rxp, ETH_ALEN);
 		priv->mac_address_valid = true;
@@ -530,7 +510,6 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 		netdev_info(dev, "MAC ADDRESS = %pM\n", priv->eth_addr);
 		break;
 	case DOT11_PRODUCT_VERSION:
-		/* firmware version */
 		priv->version_size = priv->rx_size;
 		memcpy(priv->firmware_version, priv->rxp, priv->rx_size);
 		priv->firmware_version[priv->rx_size] = '\0';
@@ -720,13 +699,13 @@ void hostif_connect_indication(struct ks_wlan_private *priv)
 	connect_code = get_word(priv);
 
 	switch (connect_code) {
-	case RESULT_CONNECT:	/* connect */
+	case RESULT_CONNECT:
 		if (!(priv->connect_status & FORCE_DISCONNECT))
 			netif_carrier_on(netdev);
 		tmp = FORCE_DISCONNECT & priv->connect_status;
 		priv->connect_status = tmp + CONNECT_STATUS;
 		break;
-	case RESULT_DISCONNECT: /* disconnect */
+	case RESULT_DISCONNECT:
 		netif_carrier_off(netdev);
 		tmp = FORCE_DISCONNECT & priv->connect_status;
 		priv->connect_status = tmp + DISCONNECT_STATUS;
@@ -968,7 +947,7 @@ void hostif_event_check(struct ks_wlan_private *priv)
 {
 	unsigned short event;
 
-	event = get_word(priv);	/* get event */
+	event = get_word(priv);
 	switch (event) {
 	case HIF_DATA_IND:
 		hostif_data_indication(priv);
@@ -1572,7 +1551,7 @@ static void devio_rec_ind(struct ks_wlan_private *priv, unsigned char *p,
 	if (!priv->is_device_open)
 		return;
 
-	spin_lock(&priv->dev_read_lock);	/* request spin lock */
+	spin_lock(&priv->dev_read_lock);
 	priv->dev_data[atomic_read(&priv->rec_count)] = p;
 	priv->dev_size[atomic_read(&priv->rec_count)] = size;
 
@@ -1586,7 +1565,6 @@ static void devio_rec_ind(struct ks_wlan_private *priv, unsigned char *p,
 
 	wake_up_interruptible_all(&priv->devread_wait);
 
-	/* release spin lock */
 	spin_unlock(&priv->dev_read_lock);
 }
 
@@ -1598,8 +1576,8 @@ void hostif_receive(struct ks_wlan_private *priv, unsigned char *p,
 	priv->rxp = p;
 	priv->rx_size = size;
 
-	if (get_word(priv) == priv->rx_size) {	/* length check !! */
-		hostif_event_check(priv);	/* event check */
+	if (get_word(priv) == priv->rx_size) {
+		hostif_event_check(priv);
 	}
 }
 
@@ -1917,11 +1895,9 @@ void hostif_sme_mode_setup(struct ks_wlan_private *priv)
 
 	switch (priv->reg.operation_mode) {
 	case MODE_PSEUDO_ADHOC:
-		/* Pseudo Ad-Hoc mode */
 		hostif_ps_adhoc_set_request(priv);
 		break;
 	case MODE_INFRASTRUCTURE:
-		/* Infrastructure mode */
 		if (!is_valid_ether_addr((u8 *)priv->reg.bssid)) {
 			hostif_infrastructure_set_request(priv, HIF_INFRA_SET_REQ);
 		} else {
@@ -1931,7 +1907,6 @@ void hostif_sme_mode_setup(struct ks_wlan_private *priv)
 		}
 		break;
 	case MODE_ADHOC:
-		/* IEEE802.11 Ad-Hoc mode */
 		if (!is_valid_ether_addr((u8 *)priv->reg.bssid)) {
 			hostif_adhoc_set_request(priv);
 		} else {
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 05/10] staging: ks7010: change return value of ks_wlan_do_power_save function
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (3 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 04/10] staging: ks7010: remove superfluous comments in ks_hostif source file Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 06/10] staging: ks7010: remove nonsense break from case block Sergio Paracuellos
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit change return value of ks_wlan_do_power_save function
from int to void. This function is just returning zero and return
value is not being checked also, so it is nonsense to return an
integer.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index f510c74..ec5e63d 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -92,14 +92,12 @@ static void ks_wlan_hw_wakeup_task(struct work_struct *work)
 		tasklet_enable(&priv->sme_task);
 }
 
-static
-int ks_wlan_do_power_save(struct ks_wlan_private *priv)
+static void ks_wlan_do_power_save(struct ks_wlan_private *priv)
 {
 	if (is_connect_status(priv->connect_status))
 		hostif_sme_enqueue(priv, SME_POW_MNGMT_REQUEST);
 	else
 		priv->dev_state = DEVICE_STATE_READY;
-	return 0;
 }
 
 static
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 06/10] staging: ks7010: remove nonsense break from case block
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (4 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 05/10] staging: ks7010: change return value of ks_wlan_do_power_save function Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 07/10] staging: ks7010: refactor code for hostif_sme_sleep_set function Sergio Paracuellos
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes 'break' from case block because the
code is just using the 'default' break for some cases and
this one can be included also there.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index ec5e63d..ed329f9 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -2285,7 +2285,6 @@ void hostif_sme_execute(struct ks_wlan_private *priv, int event)
 	case SME_RSN_ENABLED_CONFIRM:
 	case SME_RSN_MODE_CONFIRM:
 	case SME_MODE_SET_CONFIRM:
-		break;
 	case SME_TERMINATE:
 	default:
 		break;
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 07/10] staging: ks7010: refactor code for hostif_sme_sleep_set function
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (5 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 06/10] staging: ks7010: remove nonsense break from case block Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 08/10] staging: ks7010: fix warning aout long line in init_request Sergio Paracuellos
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit refactors code for hostif_sme_sleep_set function. This
function was using a switch-case block to handle only two states
where the action to do for them is the same. Just refactor a bit
to check for return condition at first and doing the common action
after in other case.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index ed329f9..1c10384 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -2014,19 +2014,13 @@ void hostif_sme_power_mgmt_set(struct ks_wlan_private *priv)
 	hostif_power_mgmt_request(priv, mode, wake_up, receive_dtims);
 }
 
-static
-void hostif_sme_sleep_set(struct ks_wlan_private *priv)
+static void hostif_sme_sleep_set(struct ks_wlan_private *priv)
 {
-	switch (priv->sleep_mode) {
-	case SLP_SLEEP:
-		hostif_sleep_request(priv, priv->sleep_mode);
-		break;
-	case SLP_ACTIVE:
-		hostif_sleep_request(priv, priv->sleep_mode);
-		break;
-	default:
-		break;
-	}
+	if (priv->sleep_mode != SLP_SLEEP &&
+	    priv->sleep_mode != SLP_ACTIVE)
+		return;
+
+	hostif_sleep_request(priv, priv->sleep_mode);
 }
 
 static
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 08/10] staging: ks7010: fix warning aout long line in init_request
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (6 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 07/10] staging: ks7010: refactor code for hostif_sme_sleep_set function Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 09/10] staging: ks7010: avoid blank line between definitions in hostif_data_request Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 10/10] staging: ks7010: group some cases in switch-case block in hostif_mib_set_confirm Sergio Paracuellos
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit fix length of the definition line of init_request
function. Warning from checkpatch script for this is fixed.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 1c10384..ebc3fb2 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1283,7 +1283,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv)
 	return cpu_to_le16((uint16_t)capability);
 }
 
-static void init_request(struct ks_wlan_private *priv, struct hostif_request_t *req)
+static void init_request(struct ks_wlan_private *priv,
+			 struct hostif_request_t *req)
 {
 	req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type));
 	req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode));
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 09/10] staging: ks7010: avoid blank line between definitions in hostif_data_request
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (7 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 08/10] staging: ks7010: fix warning aout long line in init_request Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  2018-04-16 10:29 ` [PATCH 10/10] staging: ks7010: group some cases in switch-case block in hostif_mib_set_confirm Sergio Paracuellos
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes a blank line between definition in
hostif_data_request function.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index ebc3fb2..00e9fdf 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1029,7 +1029,6 @@ static void *hostif_generic_request(size_t size, int event)
 int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 {
 	unsigned int skb_len = 0;
-
 	unsigned char *buffer = NULL;
 	unsigned int length = 0;
 	struct hostif_data_request_t *pp;
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 10/10] staging: ks7010: group some cases in switch-case block in hostif_mib_set_confirm
  2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
                   ` (8 preceding siblings ...)
  2018-04-16 10:29 ` [PATCH 09/10] staging: ks7010: avoid blank line between definitions in hostif_data_request Sergio Paracuellos
@ 2018-04-16 10:29 ` Sergio Paracuellos
  9 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-16 10:29 UTC (permalink / raw)
  To: gregkh; +Cc: wsa, driverdev-devel

This commit groups some case statements because its behaviour is
just do nothing which is the same as the default. Clean 'break'
keyword in those which are affected.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 00e9fdf..b182530 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -621,8 +621,6 @@ void hostif_mib_set_confirm(struct ks_wlan_private *priv)
 	case DOT11_RSN_CONFIG_AUTH_SUITE:
 		hostif_sme_enqueue(priv, SME_RSN_AUTH_CONFIRM);
 		break;
-	case DOT11_PMK_TSC:
-		break;
 	case DOT11_GMK1_TSC:
 		if (atomic_read(&priv->psstatus.snooze_guard))
 			atomic_set(&priv->psstatus.snooze_guard, 0);
@@ -631,15 +629,12 @@ void hostif_mib_set_confirm(struct ks_wlan_private *priv)
 		if (atomic_read(&priv->psstatus.snooze_guard))
 			atomic_set(&priv->psstatus.snooze_guard, 0);
 		break;
+	case DOT11_PMK_TSC:
 	case LOCAL_PMK:
-		break;
 	case LOCAL_GAIN:
-		break;
 #ifdef WPS
 	case LOCAL_WPS_ENABLE:
-		break;
 	case LOCAL_WPS_PROBE_REQ:
-		break;
 #endif /* WPS */
 	case LOCAL_REGION:
 	default:
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
  2018-04-16 10:29 ` [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues Sergio Paracuellos
@ 2018-04-23 12:30   ` Greg KH
  2018-04-23 13:02     ` Sergio Paracuellos
  0 siblings, 1 reply; 15+ messages in thread
From: Greg KH @ 2018-04-23 12:30 UTC (permalink / raw)
  To: Sergio Paracuellos; +Cc: driverdev-devel, wsa

On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote:
> This commit replace current custom implementation of some circular
> buffer head and tail logic in favour of the use of macros defined
> in linux circ_buf.h header. Queue related inline function names
> have been review also.
> 
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
>  drivers/staging/ks7010/ks7010_sdio.c | 49 ++++++++++++++++++++++--------------
>  1 file changed, 30 insertions(+), 19 deletions(-)

Not all patches in this series would apply.  Can you please rebase and
resend the remaining ones?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
  2018-04-23 12:30   ` Greg KH
@ 2018-04-23 13:02     ` Sergio Paracuellos
  2018-04-23 13:19       ` Greg KH
  0 siblings, 1 reply; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-23 13:02 UTC (permalink / raw)
  To: Greg KH; +Cc: driverdev-devel, wsa

On Mon, Apr 23, 2018 at 2:30 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote:
>> This commit replace current custom implementation of some circular
>> buffer head and tail logic in favour of the use of macros defined
>> in linux circ_buf.h header. Queue related inline function names
>> have been review also.
>>
>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
>> ---
>>  drivers/staging/ks7010/ks7010_sdio.c | 49 ++++++++++++++++++++++--------------
>>  1 file changed, 30 insertions(+), 19 deletions(-)
>
> Not all patches in this series would apply.  Can you please rebase and
> resend the remaining ones?

I will. I think previous one to this series is not being applied at
all. Is it posible? The one with
cover-letter subject "cleanups continue" which contains 14 patches. It
has a mail thread with
Dan about circular buffer stuff to fix and no resend the series
because is the wrong one is the
last patch.

>
> thanks,
>
> greg k-h

Thanks,,
    Sergio Paracuellos
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
  2018-04-23 13:02     ` Sergio Paracuellos
@ 2018-04-23 13:19       ` Greg KH
  2018-04-23 13:22         ` Sergio Paracuellos
  0 siblings, 1 reply; 15+ messages in thread
From: Greg KH @ 2018-04-23 13:19 UTC (permalink / raw)
  To: Sergio Paracuellos; +Cc: driverdev-devel, wsa

On Mon, Apr 23, 2018 at 03:02:20PM +0200, Sergio Paracuellos wrote:
> On Mon, Apr 23, 2018 at 2:30 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote:
> >> This commit replace current custom implementation of some circular
> >> buffer head and tail logic in favour of the use of macros defined
> >> in linux circ_buf.h header. Queue related inline function names
> >> have been review also.
> >>
> >> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> >> ---
> >>  drivers/staging/ks7010/ks7010_sdio.c | 49 ++++++++++++++++++++++--------------
> >>  1 file changed, 30 insertions(+), 19 deletions(-)
> >
> > Not all patches in this series would apply.  Can you please rebase and
> > resend the remaining ones?
> 
> I will. I think previous one to this series is not being applied at
> all. Is it posible? The one with cover-letter subject "cleanups
> continue" which contains 14 patches. It has a mail thread with Dan
> about circular buffer stuff to fix and no resend the series because is
> the wrong one is the last patch.

I have no idea, sorry, all of these patches are long-gone from my patch
queue.  If I haven't applied something, rebase and resend.  I'm dealing
with over a thousand staging driver patches right now, I can't stop and
"think" about what I already reviewed :)

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
  2018-04-23 13:19       ` Greg KH
@ 2018-04-23 13:22         ` Sergio Paracuellos
  0 siblings, 0 replies; 15+ messages in thread
From: Sergio Paracuellos @ 2018-04-23 13:22 UTC (permalink / raw)
  To: Greg KH; +Cc: driverdev-devel, wsa

On Mon, Apr 23, 2018 at 3:19 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Apr 23, 2018 at 03:02:20PM +0200, Sergio Paracuellos wrote:
>> On Mon, Apr 23, 2018 at 2:30 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
>> > On Mon, Apr 16, 2018 at 12:29:23PM +0200, Sergio Paracuellos wrote:
>> >> This commit replace current custom implementation of some circular
>> >> buffer head and tail logic in favour of the use of macros defined
>> >> in linux circ_buf.h header. Queue related inline function names
>> >> have been review also.
>> >>
>> >> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
>> >> ---
>> >>  drivers/staging/ks7010/ks7010_sdio.c | 49 ++++++++++++++++++++++--------------
>> >>  1 file changed, 30 insertions(+), 19 deletions(-)
>> >
>> > Not all patches in this series would apply.  Can you please rebase and
>> > resend the remaining ones?
>>
>> I will. I think previous one to this series is not being applied at
>> all. Is it posible? The one with cover-letter subject "cleanups
>> continue" which contains 14 patches. It has a mail thread with Dan
>> about circular buffer stuff to fix and no resend the series because is
>> the wrong one is the last patch.
>
> I have no idea, sorry, all of these patches are long-gone from my patch
> queue.  If I haven't applied something, rebase and resend.  I'm dealing
> with over a thousand staging driver patches right now, I can't stop and
> "think" about what I already reviewed :)

ack! II'll resend those too with the remaining ones which problems to
apply in all the series.

>
> thanks,
>
> greg k-h

Thanks,
    Sergio Paracuellos
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-04-23 13:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 10:29 [PATCH 00/10] staging: ks7010: some new cleanups Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 01/10] staging: ks7010: use linux circular buffer header macros to handle tx and rx queues Sergio Paracuellos
2018-04-23 12:30   ` Greg KH
2018-04-23 13:02     ` Sergio Paracuellos
2018-04-23 13:19       ` Greg KH
2018-04-23 13:22         ` Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 02/10] staging: ks7010: change name and type for device_open_status field Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 03/10] staging: ks7010: avoid one level indentation in devio_rec_ind function Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 04/10] staging: ks7010: remove superfluous comments in ks_hostif source file Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 05/10] staging: ks7010: change return value of ks_wlan_do_power_save function Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 06/10] staging: ks7010: remove nonsense break from case block Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 07/10] staging: ks7010: refactor code for hostif_sme_sleep_set function Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 08/10] staging: ks7010: fix warning aout long line in init_request Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 09/10] staging: ks7010: avoid blank line between definitions in hostif_data_request Sergio Paracuellos
2018-04-16 10:29 ` [PATCH 10/10] staging: ks7010: group some cases in switch-case block in hostif_mib_set_confirm Sergio Paracuellos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.