Skip to content
Commit 31c56299 authored by Petr Malat's avatar Petr Malat Committed by Andrew Morton
Browse files

mm: add RCU annotation to pte_offset_map(_lock)

RCU lock is taken by ___pte_offset_map() unless it returns NULL.  Add this
information to its inline callers to avoid sparse warning about context
imbalance in pte_unmap().

Link: https://lkml.kernel.org/r/20241210000604.700710-1-oss@malat.biz


Signed-off-by: default avatarPetr Malat <oss@malat.biz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 42c4e4b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment