checkpatch: complex macros -- fix up extension handling