aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2020-09-23 09:37:43 +0200
committerVasily Gorbik <[email protected]>2020-09-29 15:00:58 +0200
commit07a699bc43d1feb2abe3d47781e2db3d08554bcc (patch)
treede7a6992d382fbd0fe0d1ab2c7bfe818dd16c230 /tools/perf/scripts/python
parent62aacabc1301364446b36a418229c12a8e7162ba (diff)
s390/kaslr: avoid mixing valid random value and an error code
0 is a valid random value. To avoid mixing it with error code 0 as an return code make get_random() take extra argument to output random value and return an error code. Reviewed-by: Philipp Rudo <[email protected]> Reviewed-by: Alexander Egorenkov <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions