]> git.dujemihanovic.xyz Git - u-boot.git/commit
flash: prefix error codes with FL_
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 11 Sep 2024 09:58:15 +0000 (11:58 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Sep 2024 19:41:20 +0000 (13:41 -0600)
commit9aa7e531f6808579c9fa77b6407409da80a1e9ab
tree1d8f70a7c02b1e448b33a45e70340d3ab12d38f7
parent0c2d7ad3e0635a52d291035d9044922ef7b19e7a
flash: prefix error codes with FL_

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@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
board/cobra5272/flash.c
board/freescale/m5253demo/flash.c
common/flash.c
drivers/mtd/altera_qspi.c
drivers/mtd/cfi_flash.c
include/flash.h