Skip to contentSkip to conversation

staging: fsl-mc: fix coding style warning

PATCH In review Lucian Zala 2 participants 4 messages Feb 16, 2017 – Feb 25, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: fsl-mc: fix coding style warning

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.

---
 drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +2 -2
index 87e4471..49127ac 100644
@@ -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);
 	}
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 8 lines · Lucian Zala

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.

---
 drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

This patch does not apply to my tree at all, sorry :(

greg k-h

#2 lore raw

Hi Greg,

I am a little bit confused regarding your reply, it seems that the patch applied afterall, or?

http://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/drivers/staging/fsl-mc?h=staging-testing&id=3bee20fffff39e4df8d65e8d34ab9b3ab92e5acc

Have I messed something in it?

BR,
Lucian

Quoted 13 lines · Greg KH
Quoted 8 lines · Lucian Zala

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.

---
 drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

This patch does not apply to my tree at all, sorry :(

greg k-h

maintainer
#3 lore raw
Quoted 8 lines · Lucian Zala

Hi Greg,

I am a little bit confused regarding your reply, it seems that the patch applied afterall, or?

http://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/drivers/staging/fsl-mc?h=staging-testing&id=3bee20fffff39e4df8d65e8d34ab9b3ab92e5acc

Have I messed something in it?

No, my mistake, I must have already applied it, sorry, dealing with hundreds of patches causes confusion at times :)

sorry for the noise,

greg k-h