Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695776

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

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: octeon: fix line over 80 characters
Date 2017-07-25 16:20 +0200
Message-ID <u78QO-3RN-27@gated-at.bofh.it> (permalink)
References <u77L3-3dw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 25, 2017 at 04:01:57PM +0300, catalinnow@gmail.com wrote:
> From: John Smith <catalinnow@gmail.com>
> 
> ethernet-rx.c:
> 
> fix WARNING: line over 80 characters
> 
> Signed-off-by: John Smith <catalinnow@gmail.com>
> ---
>  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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: octeon: fix line over 80 characters <catalinnow@gmail.com> - 2017-07-25 15:10 +0200
  Re: [PATCH] staging: octeon: fix line over 80 characters Joe Perches <joe@perches.com> - 2017-07-25 15:40 +0200
  Re: [PATCH] staging: octeon: fix line over 80 characters Dan Carpenter <dan.carpenter@oracle.com> - 2017-07-25 16:20 +0200

csiph-web