summaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2019-02-08 20:02:45 +0100
committerMatthew Wilcox <willy@infradead.org>2019-02-09 06:00:49 +0100
commitf818b82b80164014d7ee3df89bb110808778c796 (patch)
tree36ee086ab1bd913f9a0519b1a4b8c08b7176b875 /mm/debug.c
parentXArray: Add cyclic allocation (diff)
downloadlinux-f818b82b80164014d7ee3df89bb110808778c796.tar.xz
linux-f818b82b80164014d7ee3df89bb110808778c796.zip
XArray: Mark xa_insert and xa_reserve as must_check
If the user doesn't care about the return value from xa_insert(), then they should be using xa_store() instead. The point of xa_reserve() is to get the return value early before taking another lock, so this should also be __must_check. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions