[PATCH v5 04/13] kconfig: Update IS_ENABLED() internals
Tom Rini
trini at konsulko.com
Wed Feb 9 17:37:48 CET 2022
On Sat, Jan 22, 2022 at 05:07:25AM -0700, Simon Glass wrote:
> The config_enabled() macro currently uses 0 as the default value. Update
> it to allow any value, so we can pass it something else, such as a
> non-existent function, to produce a build error if it is not defined.
>
> Also tidy up the code style for IS_ENABLED() and drop the unnecessary
> brackets (the value is a simple 0 or 1).
>
> Signed-off-by: Simon Glass <sjg at chromium.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/20220209/b0eefbfd/attachment.sig>
More information about the U-Boot
mailing list