Skip to contentSkip to conversation

staging: wlan-ng: fix block comment indentation

PATCH Superseded Ioana Ciornei 3 participants 3 messages Sep 29, 2015 – Sep 30, 2015 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wlan-ng: fix block comment indentation

Update indentation of block comments to follow linux coding style

---
 drivers/staging/wlan-ng/prism2sta.c | 111 ++++++++++++++++++++++++------------
 1 file changed, 74 insertions(+), 37 deletions(-)
drivers/staging/wlan-ng/prism2sta.c +74 -37
index 0329c52..267faf8 100644
@@ -150,7 +150,8 @@ static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_open(wlandevice_t *wlandev)
 {
 	/* We don't currently have to do anything else.
@@ -184,7 +185,8 @@ static int prism2sta_open(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_close(wlandevice_t *wlandev)
 {
 	/* We don't currently have to do anything else.
@@ -212,7 +214,8 @@ static int prism2sta_close(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_reset(wlandevice_t *wlandev)
 {
 }
@@ -237,7 +240,8 @@ static void prism2sta_reset(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_txframe(wlandevice_t *wlandev, struct sk_buff *skb,
 			     union p80211_hdr *p80211_hdr,
 			     struct p80211_metawep *p80211_wep)
@@ -276,7 +280,8 @@ static int prism2sta_txframe(wlandevice_t *wlandev, struct sk_buff *skb,
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -406,7 +411,8 @@ static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg)
 * Call context:
 *	process thread  (usually)
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -579,7 +585,8 @@ u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate)
 *
 * Call context:
 *	Either.
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 {
 	int result = 0;
@@ -676,8 +683,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, modem interface supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, modem interface supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_mfi.role = le16_to_cpu(hw->cap_sup_mfi.role);
 	hw->cap_sup_mfi.id = le16_to_cpu(hw->cap_sup_mfi.id);
 	hw->cap_sup_mfi.variant = le16_to_cpu(hw->cap_sup_mfi.variant);
@@ -699,8 +708,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, controller interface supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, controller interface supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_cfi.role = le16_to_cpu(hw->cap_sup_cfi.role);
 	hw->cap_sup_cfi.id = le16_to_cpu(hw->cap_sup_cfi.id);
 	hw->cap_sup_cfi.variant = le16_to_cpu(hw->cap_sup_cfi.variant);
@@ -722,8 +733,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, primary firmware supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, primary firmware supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_pri.role = le16_to_cpu(hw->cap_sup_pri.role);
 	hw->cap_sup_pri.id = le16_to_cpu(hw->cap_sup_pri.id);
 	hw->cap_sup_pri.variant = le16_to_cpu(hw->cap_sup_pri.variant);
@@ -745,8 +758,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station firmware supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station firmware supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_sta.role = le16_to_cpu(hw->cap_sup_sta.role);
 	hw->cap_sup_sta.id = le16_to_cpu(hw->cap_sup_sta.id);
 	hw->cap_sup_sta.variant = le16_to_cpu(hw->cap_sup_sta.variant);
@@ -776,8 +791,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, primary f/w actor, CFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, primary f/w actor, CFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_pri_cfi.role = le16_to_cpu(hw->cap_act_pri_cfi.role);
 	hw->cap_act_pri_cfi.id = le16_to_cpu(hw->cap_act_pri_cfi.id);
 	hw->cap_act_pri_cfi.variant = le16_to_cpu(hw->cap_act_pri_cfi.variant);
@@ -799,8 +816,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station f/w actor, CFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station f/w actor, CFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_sta_cfi.role = le16_to_cpu(hw->cap_act_sta_cfi.role);
 	hw->cap_act_sta_cfi.id = le16_to_cpu(hw->cap_act_sta_cfi.id);
 	hw->cap_act_sta_cfi.variant = le16_to_cpu(hw->cap_act_sta_cfi.variant);
@@ -822,8 +841,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station f/w actor, MFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station f/w actor, MFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_sta_mfi.role = le16_to_cpu(hw->cap_act_sta_mfi.role);
 	hw->cap_act_sta_mfi.id = le16_to_cpu(hw->cap_act_sta_mfi.id);
 	hw->cap_act_sta_mfi.variant = le16_to_cpu(hw->cap_act_sta_mfi.variant);
@@ -901,7 +922,8 @@ done:
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_globalsetup(wlandevice_t *wlandev)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -951,7 +973,8 @@ exit:
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_handover(wlandevice_t *wlandev,
 				   hfa384x_InfFrame_t *inf)
 {
@@ -974,7 +997,8 @@ static void prism2sta_inf_handover(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_tallies(wlandevice_t *wlandev,
 				  hfa384x_InfFrame_t *inf)
 {
@@ -1020,7 +1044,8 @@ static void prism2sta_inf_tallies(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_scanresults(wlandevice_t *wlandev,
 				      hfa384x_InfFrame_t *inf)
 {
@@ -1076,7 +1101,8 @@ static void prism2sta_inf_scanresults(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_hostscanresults(wlandevice_t *wlandev,
 					  hfa384x_InfFrame_t *inf)
 {
@@ -1117,7 +1143,8 @@ static void prism2sta_inf_hostscanresults(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_chinforesults(wlandevice_t *wlandev,
 					hfa384x_InfFrame_t *inf)
 {
@@ -1430,7 +1457,8 @@ void prism2sta_processing_defer(struct work_struct *data)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_linkstatus(wlandevice_t *wlandev,
 				     hfa384x_InfFrame_t *inf)
 {
@@ -1458,7 +1486,8 @@ static void prism2sta_inf_linkstatus(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_assocstatus(wlandevice_t *wlandev,
 				      hfa384x_InfFrame_t *inf)
 {
@@ -1519,7 +1548,8 @@ static void prism2sta_inf_assocstatus(wlandevice_t *wlandev,
 * Call context:
 *	interrupt
 *
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_authreq(wlandevice_t *wlandev,
 				  hfa384x_InfFrame_t *inf)
 {
@@ -1708,7 +1738,8 @@ static void prism2sta_inf_authreq_defer(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 				    hfa384x_InfFrame_t *inf)
 {
@@ -1733,7 +1764,8 @@ static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
 {
 	inf->infotype = le16_to_cpu(inf->infotype);
@@ -1800,7 +1832,8 @@ void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status)
 {
 	pr_debug("TxExc status=0x%x.\n", status);
@@ -1821,7 +1854,8 @@ void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status)
 {
 	pr_debug("Tx Complete, status=0x%04x\n", status);
@@ -1844,7 +1878,8 @@ void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb)
 {
 	p80211netdev_rx(wlandev, skb);
@@ -1865,7 +1900,8 @@ void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_alloc(wlandevice_t *wlandev)
 {
 	netif_wake_queue(wlandev->netdev);
@@ -1889,7 +1925,8 @@ void prism2sta_ev_alloc(wlandevice_t *wlandev)
 * Call context:
 *	process thread
 *
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static wlandevice_t *create_wlan(void)
 {
 	wlandevice_t *wlandev = NULL;
Signature · 1 line
2.1.4
maintainer
#1 lore raw
Quoted 12 lines · Ioana Ciornei

Update indentation of block comments to follow linux coding style

---
 drivers/staging/wlan-ng/prism2sta.c | 111 ++++++++++++++++++++++++------------
 1 file changed, 74 insertions(+), 37 deletions(-)
drivers/staging/wlan-ng/prism2sta.c +0 -0
index 0329c52..267faf8 100644

drivers/staging/wlan-ng/prism2sta.c static void prism2sta_inf_psusercnt(wlandevice_t *wlandev, · line 154

Quoted 6 lines
drivers/staging/wlan-ng/prism2sta.c +2 -1
@@ -150,7 +150,8 @@ static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/

That doesn't feel like it is a "correct" change to me, does it look right to you?

thanks,

greg k-h

#2 lore raw
In reply to Ioana Ciornei
Quoted 1 line · Ioana Ciornei

Update indentation of block comments to follow linux coding style

I think that the big ---- lines are not really in the Linux coding style either. Look at some existing examples of comments before functions in the non-staging directories of the kernel code.

julia

Quoted 340 lines
---
 drivers/staging/wlan-ng/prism2sta.c | 111 ++++++++++++++++++++++++------------
 1 file changed, 74 insertions(+), 37 deletions(-)
drivers/staging/wlan-ng/prism2sta.c +74 -37
index 0329c52..267faf8 100644
@@ -150,7 +150,8 @@ static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_open(wlandevice_t *wlandev)
 {
 	/* We don't currently have to do anything else.
@@ -184,7 +185,8 @@ static int prism2sta_open(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_close(wlandevice_t *wlandev)
 {
 	/* We don't currently have to do anything else.
@@ -212,7 +214,8 @@ static int prism2sta_close(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_reset(wlandevice_t *wlandev)
 {
 }
@@ -237,7 +240,8 @@ static void prism2sta_reset(wlandevice_t *wlandev)
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_txframe(wlandevice_t *wlandev, struct sk_buff *skb,
 			     union p80211_hdr *p80211_hdr,
 			     struct p80211_metawep *p80211_wep)
@@ -276,7 +280,8 @@ static int prism2sta_txframe(wlandevice_t *wlandev, struct sk_buff *skb,
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -406,7 +411,8 @@ static int prism2sta_mlmerequest(wlandevice_t *wlandev, struct p80211msg *msg)
 * Call context:
 *	process thread  (usually)
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -579,7 +585,8 @@ u32 prism2sta_ifstate(wlandevice_t *wlandev, u32 ifstate)
 *
 * Call context:
 *	Either.
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 {
 	int result = 0;
@@ -676,8 +683,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, modem interface supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, modem interface supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_mfi.role = le16_to_cpu(hw->cap_sup_mfi.role);
 	hw->cap_sup_mfi.id = le16_to_cpu(hw->cap_sup_mfi.id);
 	hw->cap_sup_mfi.variant = le16_to_cpu(hw->cap_sup_mfi.variant);
@@ -699,8 +708,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, controller interface supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, controller interface supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_cfi.role = le16_to_cpu(hw->cap_sup_cfi.role);
 	hw->cap_sup_cfi.id = le16_to_cpu(hw->cap_sup_cfi.id);
 	hw->cap_sup_cfi.variant = le16_to_cpu(hw->cap_sup_cfi.variant);
@@ -722,8 +733,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, primary firmware supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, primary firmware supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_pri.role = le16_to_cpu(hw->cap_sup_pri.role);
 	hw->cap_sup_pri.id = le16_to_cpu(hw->cap_sup_pri.id);
 	hw->cap_sup_pri.variant = le16_to_cpu(hw->cap_sup_pri.variant);
@@ -745,8 +758,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station firmware supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station firmware supplier
+	 * fields in byte order
+	 */
 	hw->cap_sup_sta.role = le16_to_cpu(hw->cap_sup_sta.role);
 	hw->cap_sup_sta.id = le16_to_cpu(hw->cap_sup_sta.id);
 	hw->cap_sup_sta.variant = le16_to_cpu(hw->cap_sup_sta.variant);
@@ -776,8 +791,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, primary f/w actor, CFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, primary f/w actor, CFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_pri_cfi.role = le16_to_cpu(hw->cap_act_pri_cfi.role);
 	hw->cap_act_pri_cfi.id = le16_to_cpu(hw->cap_act_pri_cfi.id);
 	hw->cap_act_pri_cfi.variant = le16_to_cpu(hw->cap_act_pri_cfi.variant);
@@ -799,8 +816,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station f/w actor, CFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station f/w actor, CFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_sta_cfi.role = le16_to_cpu(hw->cap_act_sta_cfi.role);
 	hw->cap_act_sta_cfi.id = le16_to_cpu(hw->cap_act_sta_cfi.id);
 	hw->cap_act_sta_cfi.variant = le16_to_cpu(hw->cap_act_sta_cfi.variant);
@@ -822,8 +841,10 @@ static int prism2sta_getcardinfo(wlandevice_t *wlandev)
 		goto failed;
 	}
 
-	/* get all the Compatibility range, station f/w actor, MFI supplier
-	   fields in byte order */
+	/*
+	 * get all the Compatibility range, station f/w actor, MFI supplier
+	 * fields in byte order
+	 */
 	hw->cap_act_sta_mfi.role = le16_to_cpu(hw->cap_act_sta_mfi.role);
 	hw->cap_act_sta_mfi.id = le16_to_cpu(hw->cap_act_sta_mfi.id);
 	hw->cap_act_sta_mfi.variant = le16_to_cpu(hw->cap_act_sta_mfi.variant);
@@ -901,7 +922,8 @@ done:
 *
 * Call context:
 *	process thread
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static int prism2sta_globalsetup(wlandevice_t *wlandev)
 {
 	hfa384x_t *hw = (hfa384x_t *) wlandev->priv;
@@ -951,7 +973,8 @@ exit:
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_handover(wlandevice_t *wlandev,
 				   hfa384x_InfFrame_t *inf)
 {
@@ -974,7 +997,8 @@ static void prism2sta_inf_handover(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_tallies(wlandevice_t *wlandev,
 				  hfa384x_InfFrame_t *inf)
 {
@@ -1020,7 +1044,8 @@ static void prism2sta_inf_tallies(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_scanresults(wlandevice_t *wlandev,
 				      hfa384x_InfFrame_t *inf)
 {
@@ -1076,7 +1101,8 @@ static void prism2sta_inf_scanresults(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_hostscanresults(wlandevice_t *wlandev,
 					  hfa384x_InfFrame_t *inf)
 {
@@ -1117,7 +1143,8 @@ static void prism2sta_inf_hostscanresults(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_chinforesults(wlandevice_t *wlandev,
 					hfa384x_InfFrame_t *inf)
 {
@@ -1430,7 +1457,8 @@ void prism2sta_processing_defer(struct work_struct *data)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_linkstatus(wlandevice_t *wlandev,
 				     hfa384x_InfFrame_t *inf)
 {
@@ -1458,7 +1486,8 @@ static void prism2sta_inf_linkstatus(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_assocstatus(wlandevice_t *wlandev,
 				      hfa384x_InfFrame_t *inf)
 {
@@ -1519,7 +1548,8 @@ static void prism2sta_inf_assocstatus(wlandevice_t *wlandev,
 * Call context:
 *	interrupt
 *
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_authreq(wlandevice_t *wlandev,
 				  hfa384x_InfFrame_t *inf)
 {
@@ -1708,7 +1738,8 @@ static void prism2sta_inf_authreq_defer(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 				    hfa384x_InfFrame_t *inf)
 {
@@ -1733,7 +1764,8 @@ static void prism2sta_inf_psusercnt(wlandevice_t *wlandev,
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
 {
 	inf->infotype = le16_to_cpu(inf->infotype);
@@ -1800,7 +1832,8 @@ void prism2sta_ev_info(wlandevice_t *wlandev, hfa384x_InfFrame_t *inf)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status)
 {
 	pr_debug("TxExc status=0x%x.\n", status);
@@ -1821,7 +1854,8 @@ void prism2sta_ev_txexc(wlandevice_t *wlandev, u16 status)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status)
 {
 	pr_debug("Tx Complete, status=0x%04x\n", status);
@@ -1844,7 +1878,8 @@ void prism2sta_ev_tx(wlandevice_t *wlandev, u16 status)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb)
 {
 	p80211netdev_rx(wlandev, skb);
@@ -1865,7 +1900,8 @@ void prism2sta_ev_rx(wlandevice_t *wlandev, struct sk_buff *skb)
 *
 * Call context:
 *	interrupt
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 void prism2sta_ev_alloc(wlandevice_t *wlandev)
 {
 	netif_wake_queue(wlandev->netdev);
@@ -1889,7 +1925,8 @@ void prism2sta_ev_alloc(wlandevice_t *wlandev)
 * Call context:
 *	process thread
 *
-----------------------------------------------------------------*/
+----------------------------------------------------------------
+*/
 static wlandevice_t *create_wlan(void)
 {
 	wlandevice_t *wlandev = NULL;
Signature · 8 lines
2.1.4

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1443568771-8819-1-git-send-email-ciorneiioana%40gmail.com.
For more options, visit https://groups.google.com/d/optout.