[PATCH] fs: mark string returned by get_mounted_path as const
Sascha Hauer
s.hauer at pengutronix.de
Wed Apr 2 01:24:07 PDT 2025
On Wed, 02 Apr 2025 10:13:18 +0200, Ahmad Fatoum wrote:
> The string returned is not freshly allocated and modifying it is a bad
> idea, so mark it const.
>
> This breaks no in-tree users.
>
>
Applied, thanks!
[1/1] fs: mark string returned by get_mounted_path as const
https://git.pengutronix.de/cgit/barebox/commit/?id=d30c2777306c (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list