[BUG] checkpatch.pl: false positive: space prohibited before open square bracket

2018-04-03 Thread Heinrich Schuchardt
This patch leads to errors "space prohibited before open square bracket '['" for the asm statement. In the inline assembler statement the bracket is not used for an index. Adding a space after a colon or a comma should be allowable. Signed-off-by: Heinrich Schuchardt ---

[BUG] checkpatch.pl: false positive: space prohibited before open square bracket

2018-04-03 Thread Heinrich Schuchardt
This patch leads to errors "space prohibited before open square bracket '['" for the asm statement. In the inline assembler statement the bracket is not used for an index. Adding a space after a colon or a comma should be allowable. Signed-off-by: Heinrich Schuchardt --- foo.c | 11 +++