lkml.org 
[lkml]   [2018]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: mvpp2: debugfs: fix incorrect bitwise operator
From
Date
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@embeddedor.com> 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@bootlin.com>
>
> Good catch, thanks.
>

Glad to help. :)

Thanks
--
Gustavo

\
 
 \ /
  Last update: 2018-07-18 16:32    [W:0.086 / U:27.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site