Skip to content

Commit

Permalink
mm-mmu_notifier-avoid-double-notification-when-it-is-useless-checkpat…
Browse files Browse the repository at this point in the history
…ch-fixes

WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
torvalds#21: 
  A) page backing address is free before mmu_notifier_invalidate_range_end()

ERROR: code indent should use tabs where possible
torvalds#322: FILE: mm/hugetlb.c:3263:
+^I ^I^I^I *$

WARNING: please, no space before tabs
torvalds#322: FILE: mm/hugetlb.c:3263:
+^I ^I^I^I *$

total: 1 errors, 2 warnings, 283 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-mmu_notifier-avoid-double-notification-when-it-is-useless.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: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and hnaz committed Oct 4, 2017
1 parent 808ecc6 commit 5dad322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3260,7 +3260,7 @@ int copy_hugetlb_page_range(struct mm_struct *dst, struct mm_struct *src,
* No need to notify as we downgrading page
* table protection not changing it to point
* to a new page.
*
*
* See Documentation/vm/mmu_notifier.txt
*/
huge_ptep_set_wrprotect(src, addr, src_pte);
Expand Down

0 comments on commit 5dad322

Please sign in to comment.