lkml.org 
[lkml]   [2018]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: [PATCH] Staging: octeon: Fixing coding style for minor notices.
<div dir="ltr">Please ignore this patch i will send series which will fix more coding style and other issues</div><br><div class="gmail_quote"><div dir="ltr">On Sun, 29 Jul 2018 at 17:44, Georgios Tsotsos &lt;<a href="mailto:tsotsos@gmail.com">tsotsos@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fixing coding style for a few lines that were reported to check from<br>
<a href="http://checkpatch.pl" rel="noreferrer" target="_blank">checkpatch.pl</a> in minor cases for alignment and ending with parenthesis.<br>
<br>
Signed-off-by: Georgios Tsotsos &lt;<a href="mailto:tsotsos@gmail.com" target="_blank">tsotsos@gmail.com</a>&gt;<br>
---<br>
 drivers/staging/octeon/ethernet.c | 10 +++++-----<br>
 1 file changed, 5 insertions(+), 5 deletions(-)<br>
<br>
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c<br>
index 9b15c9ed844b..1e258deecacc 100644<br>
--- a/drivers/staging/octeon/ethernet.c<br>
+++ b/drivers/staging/octeon/ethernet.c<br>
@@ -141,8 +141,8 @@ static void cvm_oct_periodic_worker(struct work_struct *work)<br>
        if (priv-&gt;poll)<br>
                priv-&gt;poll(cvm_oct_device[priv-&gt;port]);<br>
<br>
-       cvm_oct_device[priv-&gt;port]-&gt;netdev_ops-&gt;ndo_get_stats(<br>
-                                               cvm_oct_device[priv-&gt;port]);<br>
+       cvm_oct_device[priv-&gt;port]-&gt;netdev_ops<br>
+                               -&gt;ndo_get_stats(cvm_oct_device[priv-&gt;port]);<br>
<br>
        if (!atomic_read(&amp;cvm_oct_poll_queue_stopping))<br>
                schedule_delayed_work(&amp;priv-&gt;port_periodic_work, HZ);<br>
@@ -621,8 +621,8 @@ static const struct net_device_ops cvm_oct_pow_netdev_ops = {<br>
 #endif<br>
 };<br>
<br>
-static struct device_node *cvm_oct_of_get_child(<br>
-                               const struct device_node *parent, int reg_val)<br>
+static struct device_node *cvm_oct_of_get_child(const struct device_node *parent<br>
+                                               , int reg_val)<br>
 {<br>
        struct device_node *node = NULL;<br>
        int size;<br>
@@ -818,7 +818,7 @@ static int cvm_oct_probe(struct platform_device *pdev)<br>
                        priv = netdev_priv(dev);<br>
                        priv-&gt;netdev = dev;<br>
                        priv-&gt;of_node = cvm_oct_node_for_port(pip, interface,<br>
-                                                               port_index);<br>
+                                                             port_index);<br>
<br>
                        INIT_DELAYED_WORK(&amp;priv-&gt;port_periodic_work,<br>
                                          cvm_oct_periodic_worker);<br>
-- <br>
2.16.4<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small">Best regards!</div><div style="font-size:small"><b><a href="https://www.linkedin.com/in/georgetsotsos/" style="color:rgb(17,85,204)" target="_blank">Georgios Tsotsos</a></b><br></div><div style="font-size:small"><b><i>Greece-Evia-Chalkida</i></b><br><b><a href="mailto:tsotsos@linux.com" style="color:rgb(17,85,204)" target="_blank">tsotsos@linux.com</a></b><br><b>skype:</b> <i><b>tsotsos</b></i><br>------------------------------------<br></div><div style="font-size:small">Georgios Tsotsos</div><div style="font-size:small">*Greece - Evia - Chalkida*</div><div style="font-size:small">tsotsos[at]<a href="http://linux.com" target="_blank">linux.com</a></div><div style="font-size:small">skype: tsotsos</div></div></div></div></div></div></div>
\
 
 \ /
  Last update: 2018-07-29 19:01    [W:0.047 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site