[PATCH 12/12] staging: ks7010: fix checkpatch line over 80
Tobin C. Harding
me at tobin.cc
Wed Mar 8 03:36:57 UTC 2017
Checkpatch emits WARNING: line over 80 characters.
Modify the comment without loss of meaning to reduce the length of the
line. Clear two warnings with single change.
Signed-off-by: Tobin C. Harding <me at tobin.cc>
---
drivers/staging/ks7010/ks_hostif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 940ab64..47a4034 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -370,7 +370,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
mic_failure->failure = 2;
mic_failure->counter =
(u16)((now - mic_failure->last_failure_time) / HZ);
- if (!mic_failure->counter) /* mic_failure counter value range 1-60 */
+ if (!mic_failure->counter) /* range 1-60 */
mic_failure->counter = 1;
}
priv->wpa.mic_failure.last_failure_time = now;
--
2.7.4
More information about the devel
mailing list