]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: fsl-mc: fix coding style warning
authorLucian Zala <zala.lucian@gmail.com>
Thu, 16 Feb 2017 18:42:47 +0000 (20:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:59 +0000 (09:16 +0100)
Fix for "WARNING: Avoid multiple line dereference - prefer
'mc_msi_domain->host_data'" found by checkpatch.pl in
bus/irq-gic-v3-its-fsl-mc-msi.c.

Signed-off-by: Lucian Zala <zala.lucian@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c

index 87e44712b56cbdb10b0eb9923b397aa46db2b70e..49127acb85b2a6a3e75c6e5ecf28b5370afd7e24 100644 (file)
@@ -95,8 +95,8 @@ int __init its_fsl_mc_msi_init(void)
                        continue;
                }
 
-               WARN_ON(mc_msi_domain->
-                               host_data != &its_fsl_mc_msi_domain_info);
+               WARN_ON(mc_msi_domain->host_data !=
+                       &its_fsl_mc_msi_domain_info);
 
                pr_info("fsl-mc MSI: %s domain created\n", np->full_name);
        }