Skip to content

Commit

Permalink
fs-proc-task_nommuc-shift-mm_access-from-m_start-to-proc_maps_open-ch…
Browse files Browse the repository at this point in the history
…eckpatch-fixes

WARNING: Missing a blank line after declarations
torvalds#46: FILE: fs/proc/task_nommu.c:280:
+		int err = PTR_ERR(priv->mm);
+		seq_release_private(inode, file);

total: 0 errors, 1 warnings, 57 lines checked

./patches/fs-proc-task_nommuc-shift-mm_access-from-m_start-to-proc_maps_open.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: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and sfrothwell committed Aug 26, 2014
1 parent 9f287b9 commit 1e24a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/proc/task_nommu.c
Expand Up @@ -277,6 +277,7 @@ static int maps_open(struct inode *inode, struct file *file,
priv->mm = proc_mem_open(inode, PTRACE_MODE_READ);
if (IS_ERR(priv->mm)) {
int err = PTR_ERR(priv->mm);

seq_release_private(inode, file);
return err;
}
Expand Down

0 comments on commit 1e24a9e

Please sign in to comment.