[tip: x86/irq] x86/PCI: Fix coding style in PIRQ table verification

tip-bot2 for Maciej W. Rozycki posted 1 patch 4 years, 2 months ago
arch/x86/pci/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: x86/irq] x86/PCI: Fix coding style in PIRQ table verification
Posted by tip-bot2 for Maciej W. Rozycki 4 years, 2 months ago
The following commit has been merged into the x86/irq branch of tip:

Commit-ID:     c25f23459c117d950e657458b0d3dcaaf9039ec9
Gitweb:        https://git.kernel.org/tip/c25f23459c117d950e657458b0d3dcaaf9039ec9
Author:        Maciej W. Rozycki <macro@orcam.me.uk>
AuthorDate:    Thu, 31 Mar 2022 08:11:14 +01:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Sun, 10 Apr 2022 12:48:15 +02:00

x86/PCI: Fix coding style in PIRQ table verification

Remove an extraneous space with a cast in `pirq_check_routing_table'.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2203310017260.44113@angie.orcam.me.uk

---
 arch/x86/pci/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c
index ceac715..a498b84 100644
--- a/arch/x86/pci/irq.c
+++ b/arch/x86/pci/irq.c
@@ -77,7 +77,7 @@ static inline struct irq_routing_table *pirq_check_routing_table(u8 *addr,
 	int i;
 	u8 sum;
 
-	rt = (struct irq_routing_table *) addr;
+	rt = (struct irq_routing_table *)addr;
 	if (rt->signature != PIRQ_SIGNATURE ||
 	    rt->version != PIRQ_VERSION ||
 	    rt->size % 16 ||