]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs-seq_filec-seq_lseek-fix-switch-statement-indenting-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Feb 2013 01:27:57 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:23 +0000 (16:47 +1100)
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 <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/seq_file.c

index e1e19e8d67001e68cd1ca197c55c4948acec6709..15c6304bab71251364ea6dead8e1ee10d04a7333 100644 (file)
@@ -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... */