
19 May
2021
19 May
'21
4:30 p.m.
On Wed, May 19, 2021 at 10:06 PM John Keeping john@metanate.com wrote:
It's possible that LOAD_FIT_FULL will have different values for TPL and SPL, in which case just checking CONFIG_SPL_LOAD_FIT_FULL causes this to be compiled in to the TPL even though functions and struct members it depends on are not.
Use CONFIG_IS_ENABLED() to ensure the correct TPL/SPL variant is checked.
Signed-off-by: John Keeping john@metanate.com
common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com