Messages in this thread |  | | Date | Sat, 3 Dec 2022 11:37:14 +0300 | From | Dan Carpenter <> | Subject | Re: [PATCH] staging: board: Remove control flow from macro |
| |
On Fri, Dec 02, 2022 at 09:05:44PM -0600, Joe Peterson wrote: > Adhere to Linux coding style > > Reported by checkpatch: > > WARNING: Macros with flow control statements should be avoided > > There is only one return value possible. Remove the checkpatch warning > without effecting functionality. > > Signed-off-by: Joe Peterson <jwp.linux@gmail.com> > ---
Does this break the build?
Anyway, checkpatch is wrong here. Just ignore checkpatch if it says silly stuff.
regards, dan carpenter
|  |