Re: [External] Re: [PATCH] debugobjects: add missing empty function debug_object_active_state()

From: Thomas Gleixner
Date: Sun Jun 20 2021 - 07:12:23 EST


On Sun, Jun 20 2021 at 13:52, 何鑫 wrote:
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> 于2021年6月20日周日 上午12:47写道:
>>
>> I have no problem with the patch per se, but it want's a proper use case.
>
> Yes, config options ensure that there will be no problems. But when
> CONFIG_DEBUG_OBJECTS is not set, we should provide all empty
> functions that may be used.

What for? Just that we have them w/o users? If someone needs it w/o
guards then we still can add it.

What's the actual problem you are trying to solve?

Thanks,

tglx