Re: [PATCH] checkpatch: Handle long multi-line macros better

From: Joe Perches
Date: Tue Jul 10 2018 - 14:25:01 EST


On Tue, 2018-07-10 at 10:42 -0700, Prakruthi Deepak Heragu wrote:
> Currently, the checkpatch throws an error on long macro expressions which
> is more than one line i.e the opening and the closing bracket pair not
> being on the same line. This patch gives the dangling backslash the
> benefit of doubt and allows it to consider the closing paranthesis on the
> next line as part of the macro expression and doesn't throw an error.

Example please.