[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200506.140156.2160110657988374613.davem@davemloft.net>
Date: Wed, 06 May 2020 14:01:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanaijie@...wei.com
Cc: akpm@...ux-foundation.org, rppt@...ux.ibm.com,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sparc: mm: return true,false in kern_addr_valid()
From: Jason Yan <yanaijie@...wei.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@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists