aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-09-02 14:56:43 -0700
committerLinus Torvalds <[email protected]>2021-09-03 09:58:13 -0700
commite15710bf04063766f428048f4dad7b73b646203f (patch)
treeed864b9eb7f9a1c34dbe33bb14370887bc535ac3 /tools/perf/scripts/python
parentf00230ff8411eaecbea1f2e528e205424f3725ba (diff)
mm: change fault_in_pages_* to have an unsigned size parameter
fault_in_pages_writeable() and fault_in_pages_readable() treat the size parameter as unsigned, doing pointer math with the value, so make this explicit and set it to be a size_t type which all callers currently treat it as anyway. This solves the issue where static checkers get nervous seeing pointer arithmetic happening with a signed value. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Reported-by: Jordy Zomer <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: David Howells <[email protected]> Cc: William Kucharski <[email protected]> Cc: "Darrick J. Wong" <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions