aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2020-04-01 21:04:57 -0700
committerLinus Torvalds <[email protected]>2020-04-02 09:35:26 -0700
commitec84821507be44480e831d6f3d89df9e2b13728e (patch)
treef4b507cc679864051f7751c900a83beb13a64424 /scripts/gcc-plugins/sancov_plugin.c
parente520e932dcc607fc857d27ddd98482fcaf090d7a (diff)
include/linux/pagemap.h: rename arguments to find_subpage
This isn't just a random struct page, it's known to be a head page, and calling it head makes the function better self-documenting. The pgoff_t is less confusing if it's named index instead of offset. Also add a couple of comments to explain why we're doing various things. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Acked-by: Pankaj Gupta <[email protected]> Cc: Aneesh Kumar K.V <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions