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

From: tip-bot2 for Maciej W. Rozycki
Date: Sun Apr 10 2022 - 06:54:41 EST


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@xxxxxxxxxxx>
AuthorDate: Thu, 31 Mar 2022 08:11:14 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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@xxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2203310017260.44113@xxxxxxxxxxxxxxxxx

---
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 ||