Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

avr32: macro whitespace fixes

While working on arch/avr32/include/asm/uaccess.h, I noticed
that some macros within this header are made harder to read because they
violate a coding style rule: space is missing after comma.

Fix it up.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>

+9 -9
+9 -9
arch/avr32/include/asm/uaccess.h
··· 26 26 * For historical reasons (Data Segment Register?), these macros are misnamed. 27 27 */ 28 28 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) 29 - #define segment_eq(a,b) ((a).is_user_space == (b).is_user_space) 29 + #define segment_eq(a, b) ((a).is_user_space == (b).is_user_space) 30 30 31 31 #define USER_ADDR_LIMIT 0x80000000 32 32 ··· 108 108 * 109 109 * Returns zero on success, or -EFAULT on error. 110 110 */ 111 - #define put_user(x,ptr) \ 112 - __put_user_check((x),(ptr),sizeof(*(ptr))) 111 + #define put_user(x, ptr) \ 112 + __put_user_check((x), (ptr), sizeof(*(ptr))) 113 113 114 114 /* 115 115 * get_user: - Get a simple variable from user space. ··· 128 128 * Returns zero on success, or -EFAULT on error. 129 129 * On error, the variable @x is set to zero. 130 130 */ 131 - #define get_user(x,ptr) \ 132 - __get_user_check((x),(ptr),sizeof(*(ptr))) 131 + #define get_user(x, ptr) \ 132 + __get_user_check((x), (ptr), sizeof(*(ptr))) 133 133 134 134 /* 135 135 * __put_user: - Write a simple value into user space, with less checking. ··· 150 150 * 151 151 * Returns zero on success, or -EFAULT on error. 152 152 */ 153 - #define __put_user(x,ptr) \ 154 - __put_user_nocheck((x),(ptr),sizeof(*(ptr))) 153 + #define __put_user(x, ptr) \ 154 + __put_user_nocheck((x), (ptr), sizeof(*(ptr))) 155 155 156 156 /* 157 157 * __get_user: - Get a simple variable from user space, with less checking. ··· 173 173 * Returns zero on success, or -EFAULT on error. 174 174 * On error, the variable @x is set to zero. 175 175 */ 176 - #define __get_user(x,ptr) \ 177 - __get_user_nocheck((x),(ptr),sizeof(*(ptr))) 176 + #define __get_user(x, ptr) \ 177 + __get_user_nocheck((x), (ptr), sizeof(*(ptr))) 178 178 179 179 extern int __get_user_bad(void); 180 180 extern int __put_user_bad(void);