checkpatch: improve macro reuse test

checkpatch reports a false positive when using token pasting argument
multiple times in a macro.

Fix it.


o Make the $tmp variable name used in the macro argument tests
  a bit more descriptive

Signed-off-by: Joe Perches <>
Reported-by: Johannes Berg <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
1 file changed