2019-10-06 20:35:32

by Gabriela Bittencourt

[permalink] [raw]
Subject: [PATCH] staging: rtl8712: align block comments

Cleans up warnings of "Block comments should align the * on each line"

Signed-off-by: Gabriela Bittencourt <[email protected]>
---
drivers/staging/rtl8712/recv_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c
index 84c4c8580f9a..70a4dcd4a1e5 100644
--- a/drivers/staging/rtl8712/recv_linux.c
+++ b/drivers/staging/rtl8712/recv_linux.c
@@ -115,8 +115,8 @@ void r8712_recv_indicatepkt(struct _adapter *adapter,
skb->protocol = eth_type_trans(skb, adapter->pnetdev);
netif_rx(skb);
recvframe->u.hdr.pkt = NULL; /* pointers to NULL before
- * r8712_free_recvframe()
- */
+ * r8712_free_recvframe()
+ */
r8712_free_recvframe(recvframe, free_recv_queue);
return;
_recv_indicatepkt_drop:
--
2.20.1


2019-10-07 10:28:55

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] staging: rtl8712: align block comments

On Sun, Oct 06, 2019 at 05:34:20PM -0300, Gabriela Bittencourt wrote:
> Cleans up warnings of "Block comments should align the * on each line"
>
> Signed-off-by: Gabriela Bittencourt <[email protected]>
> ---
> drivers/staging/rtl8712/recv_linux.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c
> index 84c4c8580f9a..70a4dcd4a1e5 100644
> --- a/drivers/staging/rtl8712/recv_linux.c
> +++ b/drivers/staging/rtl8712/recv_linux.c
> @@ -115,8 +115,8 @@ void r8712_recv_indicatepkt(struct _adapter *adapter,
> skb->protocol = eth_type_trans(skb, adapter->pnetdev);
> netif_rx(skb);
> recvframe->u.hdr.pkt = NULL; /* pointers to NULL before
> - * r8712_free_recvframe()
> - */
> + * r8712_free_recvframe()
> + */
> r8712_free_recvframe(recvframe, free_recv_queue);
> return;
> _recv_indicatepkt_drop:

This patch did not apply to my tree at all. Be sure you are working
against the staging-next branch of the staging.git tree, or off of
linux-next which includes this branch as well.

thanks,

greg k-h