[PATCH] fs: exfat: Remove unused label code
Tom Rini
trini at konsulko.com
Thu Jul 17 16:46:02 CEST 2025
On Thu, Jul 17, 2025 at 01:04:58PM +0100, Andrew Goodbody wrote:
> Smatch reported a possible buffer overflow in exfat_set_label but it
> turns out that this code is unused so just remove the function as well
> as exfat_get_label that is also unused and the helper static find_label.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
> fs/exfat/exfat.h | 2 --
> fs/exfat/node.c | 54 ------------------------------------------------------
> 2 files changed, 56 deletions(-)
Since I think this is just pure upstream, we should guard it with
#ifndef __UBOOT__/#endif like other parts to make future resyncs easier.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250717/cc029ae7/attachment.sig>
More information about the U-Boot
mailing list