Skip to content

Commit

Permalink
fs-proc-task_mmuc-shift-mm_access-from-m_start-to-proc_maps_open-chec…
Browse files Browse the repository at this point in the history
…kpatch-fixes

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

total: 0 errors, 1 warnings, 94 lines checked

./patches/fs-proc-task_mmuc-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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and hnaz committed Sep 23, 2014
1 parent 48a9741 commit 694b28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ static int proc_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 694b28c

Please sign in to comment.