Re: [PATCH] staging: ks7010: Replace macros with do while loop.

2021-02-21 Thread Dan Carpenter
On Mon, Feb 22, 2021 at 01:43:24AM +0530, chakravarthikulkarni wrote: > This commit fix errors found in checkpath.pl. > Error message is: > > It is a good idea to keep complex macros in do while loop. > Otherwise result may have side effect. > > Signed-off-by: chakravarthikulkarni This breaks t

[PATCH] staging: ks7010: Replace macros with do while loop.

2021-02-21 Thread chakravarthikulkarni
This commit fix errors found in checkpath.pl. Error message is: It is a good idea to keep complex macros in do while loop. Otherwise result may have side effect. Signed-off-by: chakravarthikulkarni --- drivers/staging/ks7010/ks_hostif.h | 24 1 file changed, 12 insertio