[lkml]   [2022]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>
> ---

Does this break the build?

Anyway, checkpatch is wrong here. Just ignore checkpatch if it says
silly stuff.

dan carpenter

 \ /
  Last update: 2022-12-03 09:38    [W:0.502 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site