Skip to content

Commit 3e87626

Browse files
akpm00sfrothwell
authored andcommitted
mm-unexport-__get_user_pages_unlocked-checkpatch-fixes
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0123456789ab ("commit description")' torvalds#16: flag. However, this flag was originally silently dropped by 1e98779 WARNING: line over 80 characters torvalds#89: FILE: mm/nommu.c:179: +static long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, WARNING: line over 80 characters torvalds#90: FILE: mm/nommu.c:180: + unsigned long start, unsigned long nr_pages, WARNING: line over 80 characters torvalds#91: FILE: mm/nommu.c:181: + struct page **pages, unsigned int gup_flags) ERROR: code indent should use tabs where possible torvalds#91: FILE: mm/nommu.c:181: +^I^I^I struct page **pages, unsigned int gup_flags)$ total: 2 errors, 3 warnings, 116 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/mm-unexport-__get_user_pages_unlocked.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Lorenzo Stoakes <lstoakes@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 369e473 commit 3e87626

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mm/nommu.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,10 @@ long get_user_pages_locked(unsigned long start, unsigned long nr_pages,
176176
}
177177
EXPORT_SYMBOL(get_user_pages_locked);
178178

179-
static long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm,
180-
unsigned long start, unsigned long nr_pages,
181-
struct page **pages, unsigned int gup_flags)
179+
static long __get_user_pages_unlocked(struct task_struct *tsk,
180+
struct mm_struct *mm, unsigned long start,
181+
unsigned long nr_pages, struct page **pages,
182+
unsigned int gup_flags)
182183
{
183184
long ret;
184185
down_read(&mm->mmap_sem);

0 commit comments

Comments
 (0)