Am 17.06.22 um 16:22 schrieb John Garry:
Hi Christian,
Am 17.06.22 um 14:01 schrieb John Garry:
On 17/06/2022 12:57, Christian König wrote:
And/Or compile out the warning when "warnings = errors"?
That should be doable I think.
ok, if something can be done then I would appreciate it. I do much
randconfig builds as part of my upstream process and anything
breaking is a bit of a pain.
I've just double checked the code and we have already wrapped the
warning into "#ifndef CONFIG_COMPILE_TEST".
Yes
So the question is why does your random config not set
CONFIG_COMPILE_TEST?
My randconfig does not have CONFIG_COMPILE_TEST set - see attached.
AFAIK randconfig does not always set CONFIG_COMPILE_TEST.
Mhm, we could probably change the ifdef. But a random configuration
which doesn't sets CONFIG_COMPILE_TEST sounds like a bug to me as well.
Going to provide a patch for changing the ifdef, but not sure when I
will have time for that.
Regards,
Christian.
Thanks,
John