diff options
author | Tom Rini <trini@konsulko.com> | 2025-02-26 09:33:45 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-05 12:14:49 -0600 |
commit | 0fd7ee0306a88bd99d3820167fa45a7ee6fbc1e1 (patch) | |
tree | ed3855eecfc71f42205bef4bdf75e2576ed8faf7 /drivers/pwm/pwm-stm32.c | |
parent | e22b2d778106256b44e8ed32e6ad7a5d8fff3ebd (diff) |
scripts/checkpatch.pl: Upgrade IS_ENABLED_CONFIG to error for U-Boot
A problem we have today is that some instances of IS_ENABLED(FOO) have
crept in to the code. This is in turn because with checkpatch.pl this is
only a warning and not an error, so they were overlooked. And looking
deeper, in the Linux kernel this pattern is allowed because
IS_ENABLED(DEFINED_FLAG) is allowed if discouraged and a quick skim of
the instances I saw in the current kernel follow this pattern. In U-Boot
however, this is not allowed, so bump to an error.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions