Re: [PATCH RESEND] rtl8712:Fix checkpatch warning
From: Frans Klaver
Date: Mon Jun 29 2015 - 16:34:09 EST
On Mon, Jun 29, 2015 at 10:18 PM, Ravi Teja Darbha <ravi2j@xxxxxxxxx> wrote:
>
> Fix line over 80 characters warning.
>
> Signed-off-by: Ravi Teja Darbha <ravi2j@xxxxxxxxx>
> ---
> drivers/staging/rtl8712/rtl8712_recv.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging/rtl8712/rtl8712_recv.c
> index fcb8c61..4fa2540 100644
> --- a/drivers/staging/rtl8712/rtl8712_recv.c
> +++ b/drivers/staging/rtl8712/rtl8712_recv.c
> @@ -58,8 +58,8 @@ int r8712_init_recv_priv(struct recv_priv *precvpriv, struct _adapter *padapter)
>
> /*init recv_buf*/
> _init_queue(&precvpriv->free_recv_buf_queue);
> - precvpriv->pallocated_recv_buf = kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4,
> - GFP_ATOMIC);
> + precvpriv->pallocated_recv_buf =
> + kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4, GFP_ATOMIC);
> if (precvpriv->pallocated_recv_buf == NULL)
> return _FAIL;
> precvpriv->precv_buf = precvpriv->pallocated_recv_buf + 4 -
> --
> 1.9.1
Patch still got messed up. Try using git-send-email instead of
thunderbird. Or fix thunderbird not to mess with tab characters.
Frans
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/