]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: octeon: Fix lines over 80 characters
authorLaura Garcia Liebana <nevola@gmail.com>
Sat, 27 Feb 2016 23:45:13 +0000 (00:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
The lines should be adjusted to 80 characters. Checkpatch detected these
issues.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c

index 85c5dc15e668818ab4c254d004fec42f040935ae..b6993b0b8170f0de28e65aa4f7483513d8d0d6b6 100644 (file)
@@ -215,7 +215,8 @@ static int cvm_oct_napi_poll(struct napi_struct *napi, int budget)
                        }
                        break;
                }
-               pskb = (struct sk_buff **)(cvm_oct_get_buffer_ptr(work->packet_ptr) -
+               pskb = (struct sk_buff **)
+                       (cvm_oct_get_buffer_ptr(work->packet_ptr) -
                        sizeof(void *));
                prefetch(pskb);
 
@@ -297,7 +298,9 @@ static int cvm_oct_napi_poll(struct napi_struct *napi, int budget)
 
                                while (segments--) {
                                        union cvmx_buf_ptr next_ptr =
-                                           *(union cvmx_buf_ptr *)cvmx_phys_to_ptr(segment_ptr.s.addr - 8);
+                                           *(union cvmx_buf_ptr *)
+                                             cvmx_phys_to_ptr(
+                                             segment_ptr.s.addr - 8);
 
                        /*
                         * Octeon Errata PKI-100: The segment size is
@@ -321,7 +324,8 @@ static int cvm_oct_napi_poll(struct napi_struct *napi, int budget)
                                                segment_size = len;
                                        /* Copy the data into the packet */
                                        memcpy(skb_put(skb, segment_size),
-                                              cvmx_phys_to_ptr(segment_ptr.s.addr),
+                                              cvmx_phys_to_ptr(
+                                              segment_ptr.s.addr),
                                               segment_size);
                                        len -= segment_size;
                                        segment_ptr = next_ptr;