lkml.org 
[lkml]   [2020]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sparc: mm: return true,false in kern_addr_valid()
From
From: Jason Yan <yanaijie@huawei.com>
Date: Wed, 6 May 2020 14:16:59 +0800

> This function's return type is bool and returns both true/false and 0/1.
> This fixes the following coccicheck warning:
>
> arch/sparc/mm/init_64.c:1652:9-10: WARNING: return of 0/1 in function
> 'kern_addr_valid' with return type bool
>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Applied, thanks.

\
 
 \ /
  Last update: 2020-05-06 23:02    [W:0.045 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site