[PATCH] fs: exfat: Remove unused label code
Andrew Goodbody
andrew.goodbody at linaro.org
Thu Jul 17 16:56:37 CEST 2025
On 17/07/2025 15:46, Tom Rini wrote:
> 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.
OK, I will update the patch.
Andrew
More information about the U-Boot
mailing list