Re: [PATCH v6 02/10] mm/memory_hotplug: add mhp_online_type_to_str() and export string helpers

From: David Hildenbrand (Arm)

Date: Fri Jul 10 2026 - 08:46:23 EST


On 7/9/26 23:57, Gregory Price wrote:
> On Thu, Jul 09, 2026 at 02:08:43PM -0700, Dave Jiang wrote:
>>
>>> extern int mhp_online_type_from_str(const char *str);
>>> +const char *mhp_online_type_to_str(int online_type);
>>
>> Does this need to also be 'extern'?
>>
>> DJ
>>
>
> General policy i've understood is: "No new extern"

Yes, and removing existing ones as we touch the code.

--
Cheers,

David