Skip to contentSkip to conversation

PCI: cadence: remove unneeded semicolon

PATCH In review Jiapeng Chong 3 participants 3 messages Nov 20, 2025 – Nov 24, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: cadence: remove unneeded semicolon

No functional modification involved.

./drivers/pci/controller/cadence/pcie-cadence.h:217:2-3: Unneeded semicolon.

---
 drivers/pci/controller/cadence/pcie-cadence.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/cadence/pcie-cadence.h +1 -1
index 717921411ed9..311a13ae46e7 100644
@@ -214,7 +214,7 @@ static inline u32 cdns_reg_bank_to_off(struct cdns_pcie *pcie, enum cdns_pcie_re
 		break;
 	default:
 		break;
-	};
+	}
 	return offset;
 }
 
Signature · 1 line
2.43.5
#1 lore raw

+ Manikandan

-----邮件原件-----
发件人: Jiapeng Chong <[email protected]>
发送时间: 2025年11月20日 17:35
收件人: [email protected]
抄送: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Jiapeng Chong <[email protected]>; Abaci Robot <[email protected]> 主题: [PATCH -next] PCI: cadence: remove unneeded semicolon

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

EXTERNAL EMAIL

No functional modification involved.

./drivers/pci/controller/cadence/pcie-cadence.h:217:2-3: Unneeded semicolon.

---
 drivers/pci/controller/cadence/pcie-cadence.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/cadence/pcie-cadence.h +1 -1
index 717921411ed9..311a13ae46e7 100644
@@ -214,7 +214,7 @@ static inline u32 cdns_reg_bank_to_off(struct cdns_pcie *pcie, enum cdns_pcie_re
                break;
        default:
                break;
-       };
+       }
        return offset;
 }
 

--
2.43.5

#2 lore raw
Quoted 13 lines · Hans Zhang

+ Manikandan

-----邮件原件-----
发件人: Jiapeng Chong <[email protected]>
发送时间: 2025年11月20日 17:35
收件人: [email protected]
抄送: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Jiapeng Chong <[email protected]>; Abaci Robot <[email protected]> 主题: [PATCH -next] PCI: cadence: remove unneeded semicolon

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

EXTERNAL EMAIL

Quoted 7 lines

No functional modification involved.

./drivers/pci/controller/cadence/pcie-cadence.h:217:2-3: Unneeded semicolon.

Squashed this into the commit (f5fa6c33b173 ("PCI: cadence: Add support for High Perf Architecture (HPA) controller"), no need to repost this.

There's a rash of this error. Do you know of any others in drivers/pci/?

Quoted 21 lines
---
 drivers/pci/controller/cadence/pcie-cadence.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/cadence/pcie-cadence.h +1 -2
index 717921411ed9..311a13ae46e7 100644
@@ -214,7 +214,7 @@ static inline u32 cdns_reg_bank_to_off(struct cdns_pcie *pcie, enum cdns_pcie_re
                break;
        default:
                break;
-       };
+       }
        return offset;
 }
 
--

2.43.5