Messages in this thread | | | Date | Mon, 22 Feb 2021 09:28:49 +0300 | From | Dan Carpenter <> | 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@gmail.com>
This breaks the build.
Also just ignore this checkpatch warning. The original defines are fine.
regards, dan carpenter
| |