summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-19 19:24:20 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 08:07:28 -1000
commit0c5db8acc6e99627a645a395f96b921d5558bf32 (patch)
tree10e76af7aad345dd436343cd6633fbf1c5e26053 /tools/perf/scripts/python/stackcollapse.py
parent3a609ff2f12652a23846180e16d96017b84c5d80 (diff)
char: nwflash: use get_user() in write_block()
write_block() reads the user buffer one byte at a time with __get_user() while programming and then verifying the flash, relying on the access_ok() done in flash_write(). Each __get_user() enables and disables user access on its own anyway, so the separation saves nothing. Use get_user(). This is part of getting rid of __get_user() and __put_user() entirely. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions