[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210222062849.GN2087@kadam>
Date: Mon, 22 Feb 2021 09:28:49 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: chakravarthikulkarni <chakravarthikulkarni2021@...il.com>
Cc: devel@...verdev.osuosl.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH] staging: ks7010: Replace macros with do while loop.
On Mon, Feb 22, 2021 at 01:43:24AM +0530, chakravarthikulkarni wrote:
> This commit fix errors found in checkpath.pl.
> Error message is:
> <Macros with complex values should be enclosed in parentheses.>
> It is a good idea to keep complex macros in do while loop.
> Otherwise result may have side effect.
>
> Signed-off-by: chakravarthikulkarni <chakravarthikulkarni2021@...il.com>
This breaks the build.
Also just ignore this checkpatch warning. The original defines are
fine.
regards,
dan carpenter
Powered by blists - more mailing lists