lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 25 Jul 2017 17:13:46 +0300
From:   Dan Carpenter <dan.carpenter@...cle.com>
To:     catalinnow@...il.com
Cc:     gregkh@...uxfoundation.org, aaro.koskinen@....fi,
        davem@...emloft.net, johannes.berg@...el.com,
        stephen@...workplumber.org, tklauser@...tanz.ch,
        chuckleberryfinn@...il.com, arnd@...db.de,
        devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: octeon: fix line over 80 characters

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

Powered by blists - more mailing lists