Re: [PATCH] net: mvpp2: debugfs: fix incorrect bitwise operator

From: Gustavo A. R. Silva
Date: Wed Jul 18 2018 - 10:32:45 EST


Hey Maxime,

On 07/18/2018 09:09 AM, Maxime Chevallier wrote:
> Hi Gustavo,
>
> On Wed, 18 Jul 2018 08:08:46 -0500
> "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx> wrote:
>
>> The use of the | operator always leads to true, which looks rather
>> suspect in this case.
>>
>> Fix this by using & instead.
>>
>
> Acked-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
>
> Good catch, thanks.
>

Glad to help. :)

Thanks
--
Gustavo