Re: [PATCH] Staging: octeon: Fixing coding style for minor notices.

From: Georgios Tsotsos
Date: Sun Jul 29 2018 - 13:01:21 EST


Please ignore this patch i will send series which will fix more coding style and other issues

On Sun, 29 Jul 2018 at 17:44, Georgios Tsotsos <tsotsos@xxxxxxxxx> wrote:
Fixing coding style for a few lines that were reported to check from
checkpatch.pl in minor cases for alignment and ending with parenthesis.

Signed-off-by: Georgios Tsotsos <tsotsos@xxxxxxxxx>
---
Âdrivers/staging/octeon/ethernet.c | 10 +++++-----
Â1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c
index 9b15c9ed844b..1e258deecacc 100644
--- a/drivers/staging/octeon/ethernet.c
+++ b/drivers/staging/octeon/ethernet.c
@@ -141,8 +141,8 @@ static void cvm_oct_periodic_worker(struct work_struct *work)
    if (priv->poll)
        priv->poll(cvm_oct_device[priv->port]);

-Â Â Â Âcvm_oct_device[priv->port]->netdev_ops->ndo_get_stats(
-Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âcvm_oct_device[priv->port]);
+Â Â Â Âcvm_oct_device[priv->port]->netdev_ops
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â->ndo_get_stats(cvm_oct_device[priv->port]);

    if (!atomic_read(&cvm_oct_poll_queue_stopping))
        schedule_delayed_work(&priv->port_periodic_work, HZ);
@@ -621,8 +621,8 @@ static const struct net_device_ops cvm_oct_pow_netdev_ops = {
Â#endif
Â};

-static struct device_node *cvm_oct_of_get_child(
-Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âconst struct device_node *parent, int reg_val)
+static struct device_node *cvm_oct_of_get_child(const struct device_node *parent
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â, int reg_val)
Â{
    struct device_node *node = NULL;
    int size;
@@ -818,7 +818,7 @@ static int cvm_oct_probe(struct platform_device *pdev)
            priv = netdev_priv(dev);
            priv->netdev = dev;
            priv->of_node = cvm_oct_node_for_port(pip, interface,
-Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âport_index);
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âport_index);

            INIT_DELAYED_WORK(&priv->port_periodic_work,
                     cvm_oct_periodic_worker);
--
2.16.4



--
Best regards!
Greece-Evia-Chalkida
tsotsos@xxxxxxxxx
skype:Âtsotsos
------------------------------------
Georgios Tsotsos
*Greece - Evia - Chalkida*
tsotsos[at]linux.com
skype:Âtsotsos