diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-23 09:37:43 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-29 15:00:58 +0200 |
commit | 07a699bc43d1feb2abe3d47781e2db3d08554bcc (patch) | |
tree | de7a6992d382fbd0fe0d1ab2c7bfe818dd16c230 /tools/perf/scripts/python/syscall-counts.py | |
parent | 62aacabc1301364446b36a418229c12a8e7162ba (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 <prudo@linux.ibm.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions