Re: [PATCH v6 1/7] fs/resctrl: Tidy up the error path in resctrl_mkdir_event_configs()

From: Ben Horgan

Date: Wed May 06 2026 - 04:18:56 EST


Hi Reinette,

On 5/5/26 23:43, Reinette Chatre wrote:
> Hi Ben,
>
> On 5/5/26 8:57 AM, Ben Horgan wrote:
>> The error path in resctrl_mkdir_event_configs() is unnecessarily
>> complicated. Simplify it to just return directly on error.
>>
>> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
>> Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
>>
>
> An unfortunate typo here. Without the "---" separator the list of
> changes below will stay with the changelog.

Ah, that is an annoying mistake.

>
> I'm actually not sure what would be the best course of action here.
> Resubmitting whole series to address this seems like a lot but it
> may also be best to avoid any confusion.

I'll respin.

Thanks,

Ben

>
>> Changes since v5:
>> Correct order of the tags
>> ---
>
> Reinette
>