From 48368f4bb2a1b137c7de109f803c3cf39e294e30 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 20 Feb 2013 13:16:00 +1100 Subject: [PATCH] fs-seq_filec-seq_lseek-fix-switch-statement-indenting-checkpatch-fixes ERROR: spaces required around that '=' (ctx:VxV) #45: FILE: fs/seq_file.c:318: + while ((retval=traverse(m, offset)) == -EAGAIN) ^ total: 1 errors, 0 warnings, 47 lines checked ./patches/fs-seq_filec-seq_lseek-fix-switch-statement-indenting.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Cyrill Gorcunov Signed-off-by: Andrew Morton --- fs/seq_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index e1e19e8d6700..15c6304bab71 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -315,7 +315,7 @@ loff_t seq_lseek(struct file *file, loff_t offset, int whence) break; retval = offset; if (offset != m->read_pos) { - while ((retval=traverse(m, offset)) == -EAGAIN) + while ((retval = traverse(m, offset)) == -EAGAIN) ; if (retval) { /* with extreme prejudice... */ -- 2.39.5