lkml.org 
[lkml]   [2020]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net/mlx4: Assign boolean values to a bool variable
From
Date


On 11/9/2020 9:07 AM, kaixuxia wrote:
>
>
> On 2020/11/8 16:20, Tariq Toukan wrote:
>>
>>
>> On 11/7/2020 8:53 AM, xiakaixu1987@gmail.com wrote:
>>> From: Kaixu Xia <kaixuxia@tencent.com>
>>>
>>> Fix the following coccinelle warnings:
>>>
>>
>> Hi Kaixu,
>>
>> Which coccinelle version gave this warning?
>
> Hi Tariq,
>
> The version is coccinelle-1.0.7.
>
> Thanks,
> Kaixu
>>
>>
>>> ./drivers/net/ethernet/mellanox/mlx4/en_rx.c:687:1-17: WARNING: Assignment of 0/1 to bool variable
>>>
>>> Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
>>> Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>


Reviewed-by: Tariq Toukan <tariqt@nvidia.com>

Thanks,
Tariq

\
 
 \ /
  Last update: 2020-11-09 10:34    [W:0.076 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site