[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4c5ae75-29e0-c2f0-045c-1911d0f28067@linux.ibm.com>
Date: Fri, 8 Apr 2022 14:53:02 +0200
From: Peter Oberparleiter <oberpar@...ux.ibm.com>
To: Haowen Bai <baihaowen@...zu.com>,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>,
Vineeth Vijayan <vneethv@...ux.ibm.com>
Cc: linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3] s390: Simplify the calculation of variables
On 07.04.2022 04:16, Haowen Bai wrote:
> Fix the following coccicheck warnings:
> ./arch/s390/include/asm/scsw.h:695:47-49: WARNING
> !A || A && B is equivalent to !A || B
>
> I apply a readable version just to get rid of a warning.
>
> Signed-off-by: Haowen Bai <baihaowen@...zu.com>
A definitive improvement over the current version. Thanks!
Reviewed-by: Peter Oberparleiter <oberpar@...ux.ibm.com>
--
Peter Oberparleiter
Linux on IBM Z Development - IBM Germany R&D
Powered by blists - more mailing lists