[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241109055049.269163-1-guanjing@cmss.chinamobile.com>
Date: Sat, 9 Nov 2024 13:50:49 +0800
From: guanjing <guanjing@...s.chinamobile.com>
To: mcoquelin.stm32@...il.com,
alexandre.torgue@...s.st.com
Cc: linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
guanjing <guanjing@...s.chinamobile.com>
Subject: [PATCH v2] firewall: remove misplaced semicolon from stm32_firewall_get_firewall
Remove misplaced colon in stm32_firewall_get_firewall()
which results in a syntax error when the code is compiled
without CONFIG_STM32_FIREWALL.
Fixes: 5c9668cfc6d7 ("firewall: introduce stm32_firewall framework")
Signed-off-by: guanjing <guanjing@...s.chinamobile.com>
---
include/linux/bus/stm32_firewall_device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/bus/stm32_firewall_device.h b/include/linux/bus/stm32_firewall_device.h
index 18e0a2fc3816..5178b72bc920 100644
--- a/include/linux/bus/stm32_firewall_device.h
+++ b/include/linux/bus/stm32_firewall_device.h
@@ -115,7 +115,7 @@ void stm32_firewall_release_access_by_id(struct stm32_firewall *firewall, u32 su
#else /* CONFIG_STM32_FIREWALL */
int stm32_firewall_get_firewall(struct device_node *np, struct stm32_firewall *firewall,
- unsigned int nb_firewall);
+ unsigned int nb_firewall)
{
return -ENODEV;
}
--
2.33.0
Powered by blists - more mailing lists