Re: [PATCH] staging: vt6656: Add spaces around '+' operator
From: Greg KH
Date: Tue Sep 27 2016 - 07:10:29 EST
On Mon, Sep 26, 2016 at 02:48:24PM -0300, Martin Alonso wrote:
> Fix coding style issue "spaces preferred around '+'
> detected by checkpatch.pl in dpc.c file.
>
> Signed-off-by: Martin Alonso <martin.alonso@xxxxxxxx>
> ---
> drivers/staging/vt6656/dpc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c
> index 6019aac..900cd5c 100644
> --- a/drivers/staging/vt6656/dpc.c
> +++ b/drivers/staging/vt6656/dpc.c
> @@ -75,8 +75,8 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
>
> skb_data = (u8 *)skb->data;
>
> - rx_sts = skb_data+4;
> - rx_rate = skb_data+5;
> + rx_sts = skb_data + 4;
> + rx_rate = skb_data + 5;
>
> /* real Frame Size = USBframe_size -4WbkStatus - 4RxStatus */
> /* -8TSF - 4RSR - 4SQ3 - ?Padding */
> --
> 2.8.0
>
Doesn't apply to my tree, did someone do this before you? You are
working against linux-next, right?
thanks,
greg k-h