[PATCH] misc: fs_loader: Fix compile warnings when CONFIG_CMD_UBIFS is enabled
Tom Rini
trini at konsulko.com
Fri May 6 01:39:20 CEST 2022
On Fri, Apr 29, 2022 at 04:36:23PM +0200, Pali Rohár wrote:
> drivers/misc/fs_loader.c: In function ‘mount_ubifs’:
> drivers/misc/fs_loader.c:46:12: warning: implicit declaration of function ‘ubi_part’ [-Wimplicit-function-declaration]
> int ret = ubi_part(mtdpart, NULL);
> ^~~~~~~~
> drivers/misc/fs_loader.c:53:9: warning: implicit declaration of function ‘cmd_ubifs_mount’ [-Wimplicit-function-declaration]
> return cmd_ubifs_mount(ubivol);
> ^~~~~~~~~~~~~~~
> drivers/misc/fs_loader.c: In function ‘umount_ubifs’:
> drivers/misc/fs_loader.c:58:9: warning: implicit declaration of function ‘cmd_ubifs_umount’ [-Wimplicit-function-declaration]
> return cmd_ubifs_umount();
> ^~~~~~~~~~~~~~~~
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
Applied to u-boot/master, thanks!
--
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/20220505/a00f843d/attachment.sig>
More information about the U-Boot
mailing list