[PATCH v5 01/20] flash: prefix error codes with FL_
Tom Rini
trini at konsulko.com
Thu Jul 25 20:18:03 CEST 2024
On Thu, Jul 25, 2024 at 02:57:22PM +0200, Jerome Forissier wrote:
> Prefix the flash status codes (ERR_*) with FL_ in order to avoid clashes
> with third-party libraries. Case in point: including the lwIP library
> header file <lwip/err.h> which defines err_enum_t as an enum with values
> being ERR_*.
>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
This is incomplete as for example 10m50 fails to build due to
drivers/mtd/altera_qspi.c. It might be worth doing a world build with
just this commit applied to check for other problems as well, in v6.
--
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/20240725/8b85c5c7/attachment.sig>
More information about the U-Boot
mailing list