Hi!
[ Upstream commit 554afc3b9797511e3245864e32aebeb6abbab1e3 ]
KUnit and structleak don't play nice, so add a makefile variable for enabling structleak when it complains.
AFAICT, this patch does nothing useful in 5.10. Unlike mainline, DISABLE_STRUCTLEAK_PLUGIN is not used elsewhere in the tree.
The related patches that Greg picked up use this makefile variable.
I don't think so, not in 5.10. Can you double-check?
pavel@duo:~/cip/krc$ grep -ri DISABLE_STRUCTLEAK_PLUGIN . ./scripts/Makefile.gcc-plugins: DISABLE_STRUCTLEAK_PLUGIN += -fplugin-arg-structleak_plugin-disable ./scripts/Makefile.gcc-plugins:export DISABLE_STRUCTLEAK_PLUGIN pavel@duo:~/cip/krc$ commit b67ee9a213819f2c817e3d344c2fc186f299a4f5 (HEAD, origin/queue/5.10) Author: Fabien Dessenne fabien.dessenne@foss.st.com Date: Fri Oct 8 14:25:17 2021 +0200
Best regards, Pavel