lkml.org 
[lkml]   [2020]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 01/10] locking/rtmutex: Remove Comparison to bool


On Sat, 28 Mar 2020, Thomas Gleixner wrote:

> Jules Irenge <jbi.octave@gmail.com> writes:
>
> > From: Jules Irenge <jbi.octave@example.com>
> >
> > Coccinelle reports a warning inside rt_mutex_slowunlock()
> >
> > WARNING: Comparison to bool
> >
> > To fix this, the comparison to bool is removed
> > This not only fixes the issue but also removes the unnecessary comparison.
> >
> > Remove comparison to bool
>
> So you explain 3 times in different ways that the comparison to bool is
> removed. What's the point?
>
> Thanks,
>
> tglx
>
>
>
Thanks for the feedback I take good note. I will improve next time.

\
 
 \ /
  Last update: 2020-03-28 13:03    [W:2.010 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site