]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aio-kill-ki_retry-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Mar 2013 23:26:24 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:26:40 +0000 (17:26 +1100)
WARNING: line over 80 characters
#307: FILE: fs/aio.c:1164:
+      ret == -ERESTARTNOHAND || ret == -ERESTART_RESTARTBLOCK))

total: 0 errors, 1 warnings, 344 lines checked

./patches/aio-kill-ki_retry.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: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/aio.c

index d1f0c6008283fca427059b3763e42cc46912e07d..18eeadbffcb1918528305bdb0af7d24041e5089e 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1167,7 +1167,8 @@ rw_common:
                 * may be already running. Just fail this IO with EINTR.
                 */
                if (unlikely(ret == -ERESTARTSYS || ret == -ERESTARTNOINTR ||
-                            ret == -ERESTARTNOHAND || ret == -ERESTART_RESTARTBLOCK))
+                            ret == -ERESTARTNOHAND ||
+                            ret == -ERESTART_RESTARTBLOCK))
                        ret = -EINTR;
                aio_complete(req, ret, 0);
        }