]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mempolicy: add missing annotation for queue_pages_pmd()
authorJules Irenge <jbi.octave@gmail.com>
Tue, 7 Apr 2020 03:08:12 +0000 (20:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:41 +0000 (10:43 -0700)
commit66604413af25e00d5a7b9548ef63ce95c9286a23
tree4b62aa9be3a20311ab70c6daf6e619cf43e89c6f
parentaba676964b6146c378f398150f3e4d3fc5a8e464
mm/mempolicy: add missing annotation for queue_pages_pmd()

Sparse reports a warning at queue_pages_pmd()

context imbalance in queue_pages_pmd() - unexpected unlock

The root cause is the missing annotation at queue_pages_pmd()
Add the missing __releases(ptl)

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200214204741.94112-8-jbi.octave@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c