1 /* 2 * check-name: Forced function argument type. 3 */ 4 5 #define __iomem __attribute__((noderef, address_space(2))) 6 #define __force __attribute__((force)) 7 foo(__force void * addr)8static void foo(__force void * addr) 9 { 10 } 11 12 bar(void)13static void bar(void) 14 { 15 void __iomem *a; 16 foo(a); 17 } 18 19