Skip to content

Commit

Permalink
firewall: remove misplaced semicolon from stm32_firewall_get_firewall
Browse files Browse the repository at this point in the history
[ Upstream commit 155c5bf ]

Remove misplaced colon in stm32_firewall_get_firewall()
which results in a syntax error when the code is compiled
without CONFIG_STM32_FIREWALL.

Fixes: 5c9668c ("firewall: introduce stm32_firewall framework")
Signed-off-by: guanjing <guanjing@cmss.chinamobile.com>
Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
guanjing authored and gregkh committed Jan 17, 2025
1 parent f838da8 commit 810aad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/bus/stm32_firewall_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 810aad1

Please sign in to comment.