From: Andrew Morton WARNING: no space between function name and open parenthesis '(' #101: FILE: include/linux/phantom.h:38: +#define PHN_SETREG _IOW (PH_IOC_MAGIC, 6, struct phm_reg) WARNING: no space between function name and open parenthesis '(' #103: FILE: include/linux/phantom.h:40: +#define PHN_SETREGS _IOW (PH_IOC_MAGIC, 8, struct phm_regs) total: 0 errors, 2 warnings, 78 lines checked ./patches/misc-phantom-add-compat-ioctl.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jiri Slaby Signed-off-by: Andrew Morton --- include/linux/phantom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/phantom.h~misc-phantom-add-compat-ioctl-checkpatch-fixes include/linux/phantom.h --- a/include/linux/phantom.h~misc-phantom-add-compat-ioctl-checkpatch-fixes +++ a/include/linux/phantom.h @@ -35,9 +35,9 @@ struct phm_regs { * libphantom) */ #define PHN_NOT_OH _IO (PH_IOC_MAGIC, 4) #define PHN_GETREG _IOWR(PH_IOC_MAGIC, 5, struct phm_reg) -#define PHN_SETREG _IOW (PH_IOC_MAGIC, 6, struct phm_reg) +#define PHN_SETREG _IOW(PH_IOC_MAGIC, 6, struct phm_reg) #define PHN_GETREGS _IOWR(PH_IOC_MAGIC, 7, struct phm_regs) -#define PHN_SETREGS _IOW (PH_IOC_MAGIC, 8, struct phm_regs) +#define PHN_SETREGS _IOW(PH_IOC_MAGIC, 8, struct phm_regs) #define PHN_CONTROL 0x6 /* control byte in iaddr space */ #define PHN_CTL_AMP 0x1 /* switch after torques change */ _