Re: [PATCHv2 08/10] rfkill: Use switch to demux userspace operations

From: JoÃo Paulo Rechi Vita
Date: Tue Mar 08 2016 - 09:01:57 EST


Hello Johannes,

On 1 March 2016 at 11:15, JoÃo Paulo Rechi Vita <jprvita@xxxxxxxxx> wrote:
> On 1 March 2016 at 08:43, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>>
>> I'm fine with Jouni's change, preserving the original behaviour of
>> requiring TYPE_ALL or the correct type, but I'm tempted to simply
>> remove the type check entirely.
>>
>> Thoughts?
>>
>
> I think this patch should keep the original logic, as this is supposed
> to be a refactor only. If we decide to remove the check, we should to
> it in a separate patch, to make it clear for someone looking at the
> history later.
>
> I'm fine with removing the type check (in a separate patch), but I
> don't see much gain in doing so.
>

I just saw you picked this patch with Jouni's fix, thanks!

--
JoÃo Paulo Rechi Vita
http://about.me/jprvita