Re: [PATCH] staging: octeon: fix line over 80 characters

From: Dan Carpenter
Date: Tue Jul 25 2017 - 10:14:27 EST


On Tue, Jul 25, 2017 at 04:01:57PM +0300, catalinnow@xxxxxxxxx wrote:
> From: John Smith <catalinnow@xxxxxxxxx>
>
> ethernet-rx.c:
>
> fix WARNING: line over 80 characters
>
> Signed-off-by: John Smith <catalinnow@xxxxxxxxx>
> ---
> drivers/staging/octeon/ethernet-rx.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c
> index 72baede..623c5e0 100644
> --- a/drivers/staging/octeon/ethernet-rx.c
> +++ b/drivers/staging/octeon/ethernet-rx.c
> @@ -323,7 +323,8 @@ static int cvm_oct_poll(struct oct_rx_group *rx_group, int budget)
> segment_size = len;
> /* Copy the data into the packet */
> skb_put_data(skb,
> - cvmx_phys_to_ptr(segment_ptr.s.addr),
> + cvmx_phys_to_ptr(
> + segment_ptr.s.addr),

The original looks better.

regards,
dan carpenter