Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579429

[PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h - style fix

From Derek Robson <robsonde@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h - style fix
Date 2017-02-13 06:50 +0100
Message-ID <tahGq-7NL-11@gated-at.bofh.it> (permalink)
References <tahwK-7Ki-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fixed style of block comments
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h
index 0b4ea431982d..005bf89aae65 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.h
@@ -30,7 +30,8 @@ struct ieee80211_crypto_ops {
 
 	/* init new crypto context (e.g., allocate private data space,
 	 * select IV, etc.); returns NULL on failure or pointer to allocated
-	 * private data on success */
+	 * private data on success
+	 */
 	void * (*init)(int keyidx);
 
 	/* deinitialize crypto context and free allocated private data */
@@ -46,7 +47,8 @@ struct ieee80211_crypto_ops {
 	int (*decrypt_mpdu)(struct sk_buff *skb, int hdr_len, void *priv);
 
 	/* These functions are called for full MSDUs, i.e. full frames.
-	 * These can be NULL if full MSDU operations are not needed. */
+	 * These can be NULL if full MSDU operations are not needed.
+	 */
 	int (*encrypt_msdu)(struct sk_buff *skb, int hdr_len, void *priv);
 	int (*decrypt_msdu)(struct sk_buff *skb, int keyidx, int hdr_len,
 			    void *priv);
@@ -55,14 +57,16 @@ struct ieee80211_crypto_ops {
 	int (*get_key)(void *key, int len, u8 *seq, void *priv);
 
 	/* procfs handler for printing out key information and possible
-	 * statistics */
+	 * statistics
+	 */
 	char * (*print_stats)(char *p, void *priv);
 
 	/* maximum number of bytes added by encryption; encrypt buf is
 	 * allocated with extra_prefix_len bytes, copy of in_buf, and
 	 * extra_postfix_len; encrypt need not use all this space, but
 	 * the result must start at the beginning of the buffer and correct
-	 * length must be returned */
+	 * length must be returned
+	 */
 	int extra_prefix_len, extra_postfix_len;
 
 	struct module *owner;
-- 
2.11.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/25] Staging: rtl8192u - fixed block comments Derek Robson <robsonde@gmail.com> - 2017-02-13 06:40 +0100
  [PATCH v2 10/25] Staging: rtl8192u: r8190_rtl8256.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 20/25] Staging: rtl8192u: ieee80211: ieee80211_wx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 16/25] Staging: rtl8192u: ieee80211: rtl819x_HTProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 08/25] Staging: rtl8192u: r8192U.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 03/25] Staging: rtl8192u: r819xU_cmdpkt.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 23/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 02/25] Staging: rtl8192u: r819xU_firmware.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 11/25] Staging: rtl8192u: r8180_93cx6.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 22/25] Staging: rtl8192u: ieee80211: ieee80211_rx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 19/25] Staging: rtl8192u: ieee80211: rtl819x_BA.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 13/25] Staging: rtl8192u: ieee80211: rtl819x_TSProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 09/25] Staging: rtl8192u: r8190_rtl8256.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 18/25] Staging: rtl8192u: ieee80211: rtl819x_HT.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 24/25] Staging: rtl8192u: ieee80211: ieee80211_crypt.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 05/25] Staging: rtl8192u: r8192U_hw.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 06/25] Staging: rtl8192u: r8192U_dm.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 12/25] Staging: rtl8192u: ieee80211: ieee80211_crypt_wep.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 21/25] Staging: rtl8192u: ieee80211: ieee80211_tx.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 14/25] Staging: rtl8192u: ieee80211: ieee80211_softmac.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 25/25] Staging: rtl8192u: ieee80211: ieee80211.h - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 07/25] Staging: rtl8192u: r8192U_core.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 15/25] Staging: rtl8192u: ieee80211: ieee80211_module.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 17/25] Staging: rtl8192u: ieee80211: rtl819x_BAProc.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100
  [PATCH v2 04/25] Staging: rtl8192u: r819xU_cmdpkt.c - style fix Derek Robson <robsonde@gmail.com> - 2017-02-13 06:50 +0100

csiph-web