staging: rtl8188eu: Fix WARNINGs of Block comments
Fixed 5 WARNINGs of Block comments use * on subsequent lines. Signed-off-by: Simon Fong <simon.fodin@gmail.com> Link: https://lore.kernel.org/r/239f5c7f4761dd2ef0df8ee6966fca8ed2a13a9c.1593703689.git.simon.fodin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d9ff039a29
commit
ee53f6dd70
|
@ -49,8 +49,8 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
||||||
spin_lock_init(&pxmitpriv->lock);
|
spin_lock_init(&pxmitpriv->lock);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Please insert all the queue initializaiton using _rtw_init_queue below
|
* Please insert all the queue initializaiton using _rtw_init_queue below
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pxmitpriv->adapter = padapter;
|
pxmitpriv->adapter = padapter;
|
||||||
|
|
||||||
|
@ -63,10 +63,10 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
||||||
_rtw_init_queue(&pxmitpriv->free_xmit_queue);
|
_rtw_init_queue(&pxmitpriv->free_xmit_queue);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Please allocate memory with the sz = (struct xmit_frame) * NR_XMITFRAME,
|
* Please allocate memory with the sz = (struct xmit_frame) * NR_XMITFRAME,
|
||||||
and initialize free_xmit_frame below.
|
* and initialize free_xmit_frame below.
|
||||||
Please also apply free_txobj to link_up all the xmit_frames...
|
* Please also apply free_txobj to link_up all the xmit_frames...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4);
|
pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4);
|
||||||
|
|
||||||
|
@ -893,17 +893,17 @@ s32 rtw_txframes_sta_ac_pending(struct adapter *padapter, struct pkt_attrib *pat
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
This sub-routine will perform all the following:
|
* This sub-routine will perform all the following:
|
||||||
|
*
|
||||||
1. remove 802.3 header.
|
* 1. remove 802.3 header.
|
||||||
2. create wlan_header, based on the info in pxmitframe
|
* 2. create wlan_header, based on the info in pxmitframe
|
||||||
3. append sta's iv/ext-iv
|
* 3. append sta's iv/ext-iv
|
||||||
4. append LLC
|
* 4. append LLC
|
||||||
5. move frag chunk from pframe to pxmitframe->mem
|
* 5. move frag chunk from pframe to pxmitframe->mem
|
||||||
6. apply sw-encrypt, if necessary.
|
* 6. apply sw-encrypt, if necessary.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitframe)
|
s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitframe)
|
||||||
{
|
{
|
||||||
s32 frg_inx, frg_len, mpdu_len, llc_sz, mem_sz;
|
s32 frg_inx, frg_len, mpdu_len, llc_sz, mem_sz;
|
||||||
|
@ -1233,25 +1233,25 @@ s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Calling context:
|
* Calling context:
|
||||||
1. OS_TXENTRY
|
* 1. OS_TXENTRY
|
||||||
2. RXENTRY (rx_thread or RX_ISR/RX_CallBack)
|
* 2. RXENTRY (rx_thread or RX_ISR/RX_CallBack)
|
||||||
|
*
|
||||||
If we turn on USE_RXTHREAD, then, no need for critical section.
|
* If we turn on USE_RXTHREAD, then, no need for critical section.
|
||||||
Otherwise, we must use _enter/_exit critical to protect free_xmit_queue...
|
* Otherwise, we must use _enter/_exit critical to protect free_xmit_queue...
|
||||||
|
*
|
||||||
Must be very very cautious...
|
* Must be very very cautious...
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv)
|
struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv)
|
||||||
/* _queue *pfree_xmit_queue) */
|
/* _queue *pfree_xmit_queue) */
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Please remember to use all the osdep_service api,
|
* Please remember to use all the osdep_service api,
|
||||||
and lock/unlock or _enter/_exit critical to protect
|
* and lock/unlock or _enter/_exit critical to protect
|
||||||
pfree_xmit_queue
|
* pfree_xmit_queue
|
||||||
*/
|
*/
|
||||||
struct xmit_frame *pxframe;
|
struct xmit_frame *pxframe;
|
||||||
struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue;
|
struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue