Re: [PATCH 17/30] x86, kaiser: map debug IDT tables

From: Dave Hansen
Date: Tue Nov 21 2017 - 17:16:37 EST


On 11/20/2017 12:40 PM, Thomas Gleixner wrote:
> On Fri, 10 Nov 2017, Dave Hansen wrote:
>>
>> +static int kaiser_user_map_ptr_early(const void *start_addr, unsigned long size,
>> + unsigned long flags)
>> +{
>> + int ret = kaiser_add_user_map(start_addr, size, flags);
>> + WARN_ON(ret);
>> + return ret;
> What's the point of the return value when it is ignored at the call site?

I'm dropping this patch, btw. It was unnecessary.