Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

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 broonie committed Sep 1, 2014
1 parent 4751826 commit 28bd3b7
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 @@ -225,6 +225,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 28bd3b7

Please sign in to comment.