All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] staging: ks7010: more cleanups
@ 2018-04-06 12:37 Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 01/16] staging: ks7010: remove not used enum values from eap_packet.h header Sergio Paracuellos
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This patch series continues with cleanups in this driver. 

Some checkpatch warnings have been removed as well as 
nonsense code and code that is not being used at all.
Some functions have been rewriten or reviewed to improve
readability.

v2:
 - PATCH 8: use ALIGN() macro in rewrite of function hif_align_size()
 - PATCH 14: change commit message to not use 'checkpatch'.
 - PATCH 16: use msecs_to_jiffies()

 v3:
 - Change patches sign off mail address because I extracted them in
   different laptop and that was not the one to use.

Sergio Paracuellos (16):
  staging: ks7010: remove not used enum values from eap_packet.h header
  staging: ks7010: remove EAPOL_VERSION preprocessor definition
  staging: ks7010: remove two redefined defines in eap_packet.h header
  staging: ks7010: change ETHER_HDR_SIZE definition to use the size of
    struct ether_hdr
  staging: ks7010: indent enum properly in eap_packet.h header file
  staging: ks7010: move and rename DEVICE_ALIGNMENT into correct header
  staging: ks7010: remove KS_ATOM preprocessor condtional code
  staging: ks7010: rewrite hif_align_size inline function
  staging: ks7010: remove KS_WLAN_MEM_FLAG definition
  staging: ks7010: remove nosense #if 1 directive
  staging: ks7010: avoid casts in michael_mic_function calls
  staging: ks7010: remove '\' character from michael_block function
  staging: ks7010: remove nonsense comment
  staging: ks7010: fix remaining checkpatch warnings about long lines in
    ks7010_sdio source
  staging: ks7010: change sdio related read/write function parameter
    types
  staging: ks7010: use msecs_to_jiffies in ks7010_rw_function function

 drivers/staging/ks7010/eap_packet.h  | 33 +++++++--------------------------
 drivers/staging/ks7010/ks7010_sdio.c | 30 ++++++++++++++++--------------
 drivers/staging/ks7010/ks7010_sdio.h |  5 -----
 drivers/staging/ks7010/ks_hostif.c   | 23 ++++++++---------------
 drivers/staging/ks7010/ks_hostif.h   | 16 ++++------------
 drivers/staging/ks7010/ks_wlan_net.c |  3 +--
 drivers/staging/ks7010/michael_mic.c |  6 +++---
 drivers/staging/ks7010/michael_mic.h |  2 +-
 8 files changed, 40 insertions(+), 78 deletions(-)

-- 
2.7.4

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

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

* [PATCH v3 01/16] staging: ks7010: remove not used enum values from eap_packet.h header
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 02/16] staging: ks7010: remove EAPOL_VERSION preprocessor definition Sergio Paracuellos
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes not used at all enum values from eap_packet.h
header file. This values are defined in the kernel ieee80211.h
header and the only one that is being used in ks_wlan_net.c source
which is WLAN_REASON_MIC_FAILURE is being used from this header.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index 58c2a3d..47184da 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -118,21 +118,4 @@ struct wpa_eapol_key {
 #define GENERIC_INFO_ELEM 0xdd
 #define RSN_INFO_ELEM 0x30
 
-enum {
-	REASON_UNSPECIFIED = 1,
-	REASON_DEAUTH_LEAVING = 3,
-	REASON_INVALID_IE = 13,
-	REASON_MICHAEL_MIC_FAILURE = 14,
-	REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
-	REASON_GROUP_KEY_UPDATE_TIMEOUT = 16,
-	REASON_IE_IN_4WAY_DIFFERS = 17,
-	REASON_GROUP_CIPHER_NOT_VALID = 18,
-	REASON_PAIRWISE_CIPHER_NOT_VALID = 19,
-	REASON_AKMP_NOT_VALID = 20,
-	REASON_UNSUPPORTED_RSN_IE_VERSION = 21,
-	REASON_INVALID_RSN_IE_CAPAB = 22,
-	REASON_IEEE_802_1X_AUTH_FAILED = 23,
-	REASON_CIPHER_SUITE_REJECTED = 24
-};
-
 #endif /* EAP_PACKET_H */
-- 
2.7.4

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

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

* [PATCH v3 02/16] staging: ks7010: remove EAPOL_VERSION preprocessor definition
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 01/16] staging: ks7010: remove not used enum values from eap_packet.h header Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 03/16] staging: ks7010: remove two redefined defines in eap_packet.h header Sergio Paracuellos
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes EAPOL_VERSION define from eap_packet.h
header file because it is not being used anywhere.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index 47184da..43fbc37 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -26,8 +26,6 @@ struct ieee802_1x_hdr {
 	/* followed by length octets of data */
 } __packed;
 
-#define EAPOL_VERSION 2
-
 enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
 	IEEE802_1X_TYPE_EAPOL_START = 1,
 	IEEE802_1X_TYPE_EAPOL_LOGOFF = 2,
-- 
2.7.4

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

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

* [PATCH v3 03/16] staging: ks7010: remove two redefined defines in eap_packet.h header
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 01/16] staging: ks7010: remove not used enum values from eap_packet.h header Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 02/16] staging: ks7010: remove EAPOL_VERSION preprocessor definition Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 04/16] staging: ks7010: change ETHER_HDR_SIZE definition to use the size of struct ether_hdr Sergio Paracuellos
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes GENERIC_INFO_ELEM and RSN_INFO_ELEM definitions
from eap_packet.h header file which are not being used at all.
These two are also defined in the ks_wlan_net.c source file as
GENERIC_INFO_ELEM_ID and RSN_INFO_ELEM_ID with the same values.

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

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index 43fbc37..3a5fade 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -113,7 +113,4 @@ struct wpa_eapol_key {
 
 #define WPA_CAPABILITY_PREAUTH BIT(0)
 
-#define GENERIC_INFO_ELEM 0xdd
-#define RSN_INFO_ELEM 0x30
-
 #endif /* EAP_PACKET_H */
-- 
2.7.4

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

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

* [PATCH v3 04/16] staging: ks7010: change ETHER_HDR_SIZE definition to use the size of struct ether_hdr
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (2 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 03/16] staging: ks7010: remove two redefined defines in eap_packet.h header Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 05/16] staging: ks7010: indent enum properly in eap_packet.h header file Sergio Paracuellos
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit changes ETHER_HDR_SIZE definition which is a hardcoded
number using the size of the structure ether_hdr which is the one
for what this definition has been created. This improves readability
and makes clear the intention of this definition along the code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index 3a5fade..d918742 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -6,8 +6,6 @@
 #include <linux/bitops.h>
 #include <uapi/linux/if_ether.h>
 
-#define ETHER_HDR_SIZE 20
-
 struct ether_hdr {
 	unsigned char h_dest[ETH_ALEN];	/* destination eth addr */
 	unsigned char h_source[ETH_ALEN];	/* source ether addr    */
@@ -19,6 +17,8 @@ struct ether_hdr {
 	/* followed by length octets of data */
 } __packed;
 
+#define ETHER_HDR_SIZE sizeof(struct ether_hdr)
+
 struct ieee802_1x_hdr {
 	unsigned char version;
 	unsigned char type;
-- 
2.7.4

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

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

* [PATCH v3 05/16] staging: ks7010: indent enum properly in eap_packet.h header file
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (3 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 04/16] staging: ks7010: change ETHER_HDR_SIZE definition to use the size of struct ether_hdr Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 06/16] staging: ks7010: move and rename DEVICE_ALIGNMENT into correct header Sergio Paracuellos
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit indents properly some enumeration values to improve
code readability a bit.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/eap_packet.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index d918742..989c63a 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -26,14 +26,17 @@ struct ieee802_1x_hdr {
 	/* followed by length octets of data */
 } __packed;
 
-enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
+enum {
+	IEEE802_1X_TYPE_EAP_PACKET = 0,
 	IEEE802_1X_TYPE_EAPOL_START = 1,
 	IEEE802_1X_TYPE_EAPOL_LOGOFF = 2,
 	IEEE802_1X_TYPE_EAPOL_KEY = 3,
 	IEEE802_1X_TYPE_EAPOL_ENCAPSULATED_ASF_ALERT = 4
 };
 
-enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2,
+enum {
+	EAPOL_KEY_TYPE_RC4 = 1,
+	EAPOL_KEY_TYPE_RSN = 2,
 	EAPOL_KEY_TYPE_WPA = 254
 };
 
-- 
2.7.4

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

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

* [PATCH v3 06/16] staging: ks7010: move and rename DEVICE_ALIGNMENT into correct header
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (4 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 05/16] staging: ks7010: indent enum properly in eap_packet.h header file Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 07/16] staging: ks7010: remove KS_ATOM preprocessor condtional code Sergio Paracuellos
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit moves DEVICE_ALIGNMENT definition into the header ks_hostif.h
which is where it is being used. This is also defined always so just
remove nosense undef definitions also and clean some preprocessor
conditional directives in hif_align_size function.

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

diff --git a/drivers/staging/ks7010/ks7010_sdio.h b/drivers/staging/ks7010/ks7010_sdio.h
index e4f56a1..3f65845 100644
--- a/drivers/staging/ks7010/ks7010_sdio.h
+++ b/drivers/staging/ks7010/ks7010_sdio.h
@@ -11,11 +11,6 @@
 #ifndef _KS7010_SDIO_H
 #define _KS7010_SDIO_H
 
-#ifdef	DEVICE_ALIGNMENT
-#undef	DEVICE_ALIGNMENT
-#endif
-#define DEVICE_ALIGNMENT 32
-
 /*  SDIO KeyStream vendor and device */
 #define SDIO_VENDOR_ID_KS_CODE_A	0x005b
 #define SDIO_VENDOR_ID_KS_CODE_B	0x0023
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index b785f62..b44b6e8 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -648,6 +648,8 @@ void send_packet_complete(struct ks_wlan_private *priv, struct sk_buff *skb);
 void ks_wlan_hw_wakeup_request(struct ks_wlan_private *priv);
 int ks_wlan_hw_power_save(struct ks_wlan_private *priv);
 
+#define KS7010_SIZE_ALIGNMENT	32
+
 static
 inline int hif_align_size(int size)
 {
@@ -655,12 +657,8 @@ inline int hif_align_size(int size)
 	if (size < 1024)
 		size = 1024;
 #endif
-#ifdef	DEVICE_ALIGNMENT
-	return (size % DEVICE_ALIGNMENT) ? size + DEVICE_ALIGNMENT -
-	    (size % DEVICE_ALIGNMENT) : size;
-#else
-	return size;
-#endif
+	return (size % KS7010_SIZE_ALIGNMENT) ? size + KS7010_SIZE_ALIGNMENT -
+	    (size % KS7010_SIZE_ALIGNMENT) : size;
 }
 
 #endif /* __KERNEL__ */
-- 
2.7.4

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

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

* [PATCH v3 07/16] staging: ks7010: remove KS_ATOM preprocessor condtional code
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (5 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 06/16] staging: ks7010: move and rename DEVICE_ALIGNMENT into correct header Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 08/16] staging: ks7010: rewrite hif_align_size inline function Sergio Paracuellos
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes KS_ATOM preprocessor conditional code from
hif_align_size because it is not defined anywhere.

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

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index b44b6e8..edbae62 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -653,10 +653,6 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv);
 static
 inline int hif_align_size(int size)
 {
-#ifdef	KS_ATOM
-	if (size < 1024)
-		size = 1024;
-#endif
 	return (size % KS7010_SIZE_ALIGNMENT) ? size + KS7010_SIZE_ALIGNMENT -
 	    (size % KS7010_SIZE_ALIGNMENT) : size;
 }
-- 
2.7.4

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

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

* [PATCH v3 08/16] staging: ks7010: rewrite hif_align_size inline function
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (6 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 07/16] staging: ks7010: remove KS_ATOM preprocessor condtional code Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 09/16] staging: ks7010: remove KS_WLAN_MEM_FLAG definition Sergio Paracuellos
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit rewrites hif_align_size inline function to
improve readability. It also change parameters and return
type from int to size_t which is the correct and the one
which is being used when this function is called from
several points of the code.

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

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index edbae62..a2e4a1b 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -650,11 +650,9 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv);
 
 #define KS7010_SIZE_ALIGNMENT	32
 
-static
-inline int hif_align_size(int size)
+static inline size_t hif_align_size(size_t size)
 {
-	return (size % KS7010_SIZE_ALIGNMENT) ? size + KS7010_SIZE_ALIGNMENT -
-	    (size % KS7010_SIZE_ALIGNMENT) : size;
+	return ALIGN(size, KS7010_SIZE_ALIGNMENT);
 }
 
 #endif /* __KERNEL__ */
-- 
2.7.4

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

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

* [PATCH v3 09/16] staging: ks7010: remove KS_WLAN_MEM_FLAG definition
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (7 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 08/16] staging: ks7010: rewrite hif_align_size inline function Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 10/16] staging: ks7010: remove nosense #if 1 directive Sergio Paracuellos
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes KS_WLAN_MEM_FLAG definition which is
hiding GFP_ATOMIC along the code. It is better to use directly
GFP_ATOMIC in kmalloc's because this it is easier to read.

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

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index e336d25..208c91e 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -38,8 +38,6 @@ static inline unsigned int cnt_smeqbody(struct ks_wlan_private *priv)
 	return (sme_cnt + SME_EVENT_BUFF_SIZE) % SME_EVENT_BUFF_SIZE;
 }
 
-#define KS_WLAN_MEM_FLAG (GFP_ATOMIC)
-
 static inline u8 get_byte(struct ks_wlan_private *priv)
 {
 	u8 data;
@@ -1044,7 +1042,7 @@ static void *hostif_generic_request(size_t size, int event)
 {
 	struct hostif_hdr *p;
 
-	p = kzalloc(hif_align_size(size), KS_WLAN_MEM_FLAG);
+	p = kzalloc(hif_align_size(size), GFP_ATOMIC);
 	if (!p)
 		return NULL;
 
@@ -1098,7 +1096,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 	}
 
 	size = sizeof(*pp) + 6 + skb_len + 8;
-	pp = kmalloc(hif_align_size(size), KS_WLAN_MEM_FLAG);
+	pp = kmalloc(hif_align_size(size), GFP_ATOMIC);
 	if (!pp) {
 		ret = -ENOMEM;
 		goto err_kfree_skb;
-- 
2.7.4

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

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

* [PATCH v3 10/16] staging: ks7010: remove nosense #if 1 directive
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (8 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 09/16] staging: ks7010: remove KS_WLAN_MEM_FLAG definition Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls Sergio Paracuellos
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes #if 1 directive from code to
improve readability. It is always true, so it makes
no sense to have it there.

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

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 9078e13..c0cea2f 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -966,7 +966,6 @@ static int ks_wlan_get_encode(struct net_device *dev,
 		dwrq->length = priv->reg.wep_key[index].size;
 	if (dwrq->length > 16)
 		dwrq->length = 0;
-#if 1	/* IW_ENCODE_NOKEY; */
 	if (dwrq->length) {
 		if ((index >= 0) && (index < 4))
 			memcpy(extra, priv->reg.wep_key[index].val,
@@ -974,7 +973,7 @@ static int ks_wlan_get_encode(struct net_device *dev,
 	} else {
 		memcpy(extra, zeros, dwrq->length);
 	}
-#endif
+
 	return 0;
 }
 
-- 
2.7.4

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

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

* [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (9 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 10/16] staging: ks7010: remove nosense #if 1 directive Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-23 12:28   ` Greg KH
  2018-04-06 12:37 ` [PATCH v3 12/16] staging: ks7010: remove '\' character from michael_block function Sergio Paracuellos
                   ` (4 subsequent siblings)
  15 siblings, 1 reply; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes casts in calls to michael_mic_function.
Most of them are nosense because types match perfectly function
parameters. To avoid also int casting for len parameter just
pass unsigned len to function which makes sense because is only
being called with unsigned int len parameters.

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

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 208c91e..f6ac9f0 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -339,12 +339,9 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 		memcpy(&recv_mic[0], (priv->rxp) + ((priv->rx_size) - 8), 8);
 		priv->rx_size = priv->rx_size - 8;
 		if (auth_type > 0 && auth_type < 4) {	/* auth_type check */
-			michael_mic_function(&michael_mic,
-					     (uint8_t *)key->rx_mic_key,
-					     (uint8_t *)priv->rxp,
-					     (int)priv->rx_size,
-					     (uint8_t)0,	/* priority */
-					     (uint8_t *)michael_mic.result);
+			michael_mic_function(&michael_mic, key->rx_mic_key,
+					     priv->rxp, priv->rx_size,
+					     0,	michael_mic.result);
 		}
 		if (memcmp(michael_mic.result, recv_mic, 8) != 0) {
 			now = jiffies;
@@ -1171,11 +1168,9 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 		} else {
 			if (priv->wpa.pairwise_suite == IW_AUTH_CIPHER_TKIP) {
 				michael_mic_function(&michael_mic,
-						     (uint8_t *)priv->wpa.key[0].tx_mic_key,
-						     (uint8_t *)&pp->data[0],
-						     (int)skb_len,
-						     (uint8_t)0,	/* priority */
-						     (uint8_t *)michael_mic.result);
+						     priv->wpa.key[0].tx_mic_key,
+						     &pp->data[0], skb_len,
+						     0,	michael_mic.result);
 				memcpy(p, michael_mic.result, 8);
 				length += 8;
 				skb_len += 8;
diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c
index 292eae2..8974f30 100644
--- a/drivers/staging/ks7010/michael_mic.c
+++ b/drivers/staging/ks7010/michael_mic.c
@@ -111,7 +111,7 @@ static void michael_get_mic(struct michael_mic_t *mic, u8 *dst)
 }
 
 void michael_mic_function(struct michael_mic_t *mic, u8 *key,
-			  u8 *data, int len, u8 priority, u8 *result)
+			  u8 *data, unsigned int len, u8 priority, u8 *result)
 {
 	u8 pad_data[4] = { priority, 0, 0, 0 };
 	// Compute the MIC value
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index 894a8d4..9b964ec 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -21,4 +21,4 @@ struct michael_mic_t {
 };
 
 void michael_mic_function(struct michael_mic_t *mic, u8 *key,
-			  u8 *data, int len, u8 priority, u8 *result);
+			  u8 *data, unsigned int len, u8 priority, u8 *result);
-- 
2.7.4

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

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

* [PATCH v3 12/16] staging: ks7010: remove '\' character from michael_block function
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (10 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 13/16] staging: ks7010: remove nonsense comment Sergio Paracuellos
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes '\' character from michael_block function.
It seems these two were not removed properly in the following
commit:
 - staging: ks7010: replace MichaelBlockFunction macro with
   inline function (c61cc2cc3be358da10121d119356dfe67fe240f2).

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

diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c
index 8974f30..d22c27d 100644
--- a/drivers/staging/ks7010/michael_mic.c
+++ b/drivers/staging/ks7010/michael_mic.c
@@ -41,9 +41,9 @@ static inline void michael_block(struct michael_mic_t *mic)
 	mic->r ^= ((mic->l & 0xff00ff00) >> 8) |
 		  ((mic->l & 0x00ff00ff) << 8);
 	mic->l += mic->r;
-	mic->r ^= rol32(mic->l, 3);					\
+	mic->r ^= rol32(mic->l, 3);
 	mic->l += mic->r;
-	mic->r ^= ror32(mic->l, 2);					\
+	mic->r ^= ror32(mic->l, 2);
 	mic->l += mic->r;
 }
 
-- 
2.7.4

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

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

* [PATCH v3 13/16] staging: ks7010: remove nonsense comment
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (11 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 12/16] staging: ks7010: remove '\' character from michael_block function Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 14/16] staging: ks7010: fix remaining long line warnings in ks7010_sdio source Sergio Paracuellos
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit removes a comment which has nonsense because
it is obvious what the code does just reading SET_NETDEV_DEV
declaration. This also fixes a checkpatch warning because a
line longer than 80 characters.

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

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 737959d..050892e 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -953,7 +953,7 @@ static int ks7010_sdio_probe(struct sdio_func *func,
 	priv = netdev_priv(netdev);
 
 	card->priv = priv;
-	SET_NETDEV_DEV(netdev, &card->func->dev);	/* for create sysfs symlinks */
+	SET_NETDEV_DEV(netdev, &card->func->dev);
 
 	ks7010_private_init(priv, card, netdev);
 
-- 
2.7.4

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

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

* [PATCH v3 14/16] staging: ks7010: fix remaining long line warnings in ks7010_sdio source
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (12 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 13/16] staging: ks7010: remove nonsense comment Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 15/16] staging: ks7010: change sdio related read/write function parameter types Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 16/16] staging: ks7010: use msecs_to_jiffies in ks7010_rw_function function Sergio Paracuellos
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit fixes remaining checkpatch warnings because of
the use of lines longer than 80 characters in ks7010_sdio
source file. After this clean, this file has no remaining
warnings around.

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

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 050892e..7fe4e25 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -305,7 +305,8 @@ static void tx_device_task(struct ks_wlan_private *priv)
 	if (priv->dev_state >= DEVICE_STATE_BOOT) {
 		ret = write_to_device(priv, sp->sendp, sp->size);
 		if (ret) {
-			netdev_err(priv->net_dev, "write_to_device error !!(%d)\n", ret);
+			netdev_err(priv->net_dev,
+				   "write_to_device error !!(%d)\n", ret);
 			queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
 			return;
 		}
@@ -539,7 +540,8 @@ static void ks_sdio_interrupt(struct sdio_func *func)
 			if (atomic_read(&priv->psstatus.status) == PS_SNOOZE) {
 				if (cnt_txqbody(priv)) {
 					ks_wlan_hw_wakeup_request(priv);
-					queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
+					queue_delayed_work(priv->wq,
+							   &priv->rw_dwork, 1);
 					return;
 				}
 			} else {
-- 
2.7.4

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

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

* [PATCH v3 15/16] staging: ks7010: change sdio related read/write function parameter types
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (13 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 14/16] staging: ks7010: fix remaining long line warnings in ks7010_sdio source Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  2018-04-06 12:37 ` [PATCH v3 16/16] staging: ks7010: use msecs_to_jiffies in ks7010_rw_function function Sergio Paracuellos
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit reviews and changes SDIO related read and write
functions parameter types to use the preferred u* kernel types.
Also length parameter which was defined as int has nonsense
because calls to this functions are called useing an unsigned
instead. Because of this length parameters have been changed
also into unsigned int.

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

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index 7fe4e25..d689599 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -67,8 +67,8 @@ static inline unsigned int cnt_rxqbody(struct ks_wlan_private *priv)
 }
 
 /* Read single byte from device address into byte (CMD52) */
-static int ks7010_sdio_readb(struct ks_wlan_private *priv, unsigned int address,
-			     unsigned char *byte)
+static int ks7010_sdio_readb(struct ks_wlan_private *priv,
+			     u32 address, u8 *byte)
 {
 	struct sdio_func *func = priv->ks_sdio_card->func;
 	int ret;
@@ -79,8 +79,8 @@ static int ks7010_sdio_readb(struct ks_wlan_private *priv, unsigned int address,
 }
 
 /* Read length bytes from device address into buffer (CMD53) */
-static int ks7010_sdio_read(struct ks_wlan_private *priv, unsigned int address,
-			    unsigned char *buffer, int length)
+static int ks7010_sdio_read(struct ks_wlan_private *priv, u32 address,
+			    u8 *buffer, unsigned int length)
 {
 	struct sdio_func *func = priv->ks_sdio_card->func;
 
@@ -89,7 +89,7 @@ static int ks7010_sdio_read(struct ks_wlan_private *priv, unsigned int address,
 
 /* Write single byte to device address (CMD52) */
 static int ks7010_sdio_writeb(struct ks_wlan_private *priv,
-			      unsigned int address, unsigned char byte)
+			      u32 address, u8 byte)
 {
 	struct sdio_func *func = priv->ks_sdio_card->func;
 	int ret;
@@ -100,8 +100,8 @@ static int ks7010_sdio_writeb(struct ks_wlan_private *priv,
 }
 
 /* Write length bytes to device address from buffer (CMD53) */
-static int ks7010_sdio_write(struct ks_wlan_private *priv, unsigned int address,
-			     unsigned char *buffer, int length)
+static int ks7010_sdio_write(struct ks_wlan_private *priv, u32 address,
+			     u8 *buffer, unsigned int length)
 {
 	struct sdio_func *func = priv->ks_sdio_card->func;
 
-- 
2.7.4

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

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

* [PATCH v3 16/16] staging: ks7010: use msecs_to_jiffies in ks7010_rw_function function
  2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
                   ` (14 preceding siblings ...)
  2018-04-06 12:37 ` [PATCH v3 15/16] staging: ks7010: change sdio related read/write function parameter types Sergio Paracuellos
@ 2018-04-06 12:37 ` Sergio Paracuellos
  15 siblings, 0 replies; 18+ messages in thread
From: Sergio Paracuellos @ 2018-04-06 12:37 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, wsa

This commit replaces custom time calculations done in ks7010_rw_function
with msecs_to_jiffies() function which has the same behaviour.

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

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index d689599..e475e9f 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -15,6 +15,7 @@
 #include <linux/mmc/sdio_func.h>
 #include <linux/workqueue.h>
 #include <linux/atomic.h>
+#include <linux/jiffies.h>
 
 #include "ks_wlan.h"
 #include "ks_wlan_ioctl.h"
@@ -427,19 +428,18 @@ static void ks7010_rw_function(struct work_struct *work)
 	priv = container_of(work, struct ks_wlan_private, rw_dwork.work);
 
 	/* wait after DOZE */
-	if (time_after(priv->last_doze + ((30 * HZ) / 1000), jiffies)) {
+	if (time_after(priv->last_doze + msecs_to_jiffies(30), jiffies)) {
 		netdev_dbg(priv->net_dev, "wait after DOZE\n");
 		queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
 		return;
 	}
 
 	/* wait after WAKEUP */
-	while (time_after(priv->last_wakeup + ((30 * HZ) / 1000), jiffies)) {
+	while (time_after(priv->last_wakeup + msecs_to_jiffies(30), jiffies)) {
 		netdev_dbg(priv->net_dev, "wait after WAKEUP\n");
 		dev_info(&priv->ks_sdio_card->func->dev,
 			 "wake: %lu %lu\n",
-			 priv->last_wakeup + (30 * HZ) / 1000,
-				jiffies);
+			 priv->last_wakeup + msecs_to_jiffies(30), jiffies);
 		msleep(30);
 	}
 
-- 
2.7.4

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

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

* Re: [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls
  2018-04-06 12:37 ` [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls Sergio Paracuellos
@ 2018-04-23 12:28   ` Greg KH
  0 siblings, 0 replies; 18+ messages in thread
From: Greg KH @ 2018-04-23 12:28 UTC (permalink / raw)
  To: Sergio Paracuellos; +Cc: driverdev-devel, wsa

On Fri, Apr 06, 2018 at 02:37:46PM +0200, Sergio Paracuellos wrote:
> This commit removes casts in calls to michael_mic_function.
> Most of them are nosense because types match perfectly function
> parameters. To avoid also int casting for len parameter just
> pass unsigned len to function which makes sense because is only
> being called with unsigned int len parameters.
> 
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
>  drivers/staging/ks7010/ks_hostif.c   | 17 ++++++-----------
>  drivers/staging/ks7010/michael_mic.c |  2 +-
>  drivers/staging/ks7010/michael_mic.h |  2 +-
>  3 files changed, 8 insertions(+), 13 deletions(-)

This patch did not apply, can you rebase and resend?

thanks,

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

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

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

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 12:37 [PATCH v3 00/16] staging: ks7010: more cleanups Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 01/16] staging: ks7010: remove not used enum values from eap_packet.h header Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 02/16] staging: ks7010: remove EAPOL_VERSION preprocessor definition Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 03/16] staging: ks7010: remove two redefined defines in eap_packet.h header Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 04/16] staging: ks7010: change ETHER_HDR_SIZE definition to use the size of struct ether_hdr Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 05/16] staging: ks7010: indent enum properly in eap_packet.h header file Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 06/16] staging: ks7010: move and rename DEVICE_ALIGNMENT into correct header Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 07/16] staging: ks7010: remove KS_ATOM preprocessor condtional code Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 08/16] staging: ks7010: rewrite hif_align_size inline function Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 09/16] staging: ks7010: remove KS_WLAN_MEM_FLAG definition Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 10/16] staging: ks7010: remove nosense #if 1 directive Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 11/16] staging: ks7010: avoid casts in michael_mic_function calls Sergio Paracuellos
2018-04-23 12:28   ` Greg KH
2018-04-06 12:37 ` [PATCH v3 12/16] staging: ks7010: remove '\' character from michael_block function Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 13/16] staging: ks7010: remove nonsense comment Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 14/16] staging: ks7010: fix remaining long line warnings in ks7010_sdio source Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 15/16] staging: ks7010: change sdio related read/write function parameter types Sergio Paracuellos
2018-04-06 12:37 ` [PATCH v3 16/16] staging: ks7010: use msecs_to_jiffies in ks7010_rw_function function 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.