But the checkpatch does not recognize the end of template parameter list since it's not folowed by a newline, so it assumes the following lines of the macro are next template parameters (and they're misaligned).
This patch fixes this by making the checkpatch aware that the line a template is defined on can end on a backslash character.
Such structure is used in the memtx tree implementation in order to automatically create iterator advancing wrappers:
But the checkpatch does not recognize the end of template parameter list since it's not folowed by a newline, so it assumes the following lines of the macro are next template parameters (and they're misaligned).
This patch fixes this by making the checkpatch aware that the line a template is defined on can end on a backslash character.