interconnect: move ignore_list out of of_count_icc_providers()
[ Upstream commit 88387e21 ] Move the const ignore_list definition out of the of_count_icc_providers() function. This prevents the following stack frame size warnings if the list is expanded: drivers/interconnect/core.c:1082:12: warning: stack frame size (1216) exceeds limit (1024) in 'of_count_icc_providers' [-Wframe-larger-than] Reported-by:kernel test robot <lkp@intel.com> Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by:
Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230109002935.244320-4-dmitry.baryshkov@linaro.org Signed-off-by:
Georgi Djakov <djakov@kernel.org> Stable-dep-of: 7ed42176 ("interconnect: qcom: sm8150: Set ACV enable_mask") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment