diff options
author | Thomas Gleixner <[email protected]> | 2019-10-21 12:07:15 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-10-23 14:48:23 +0200 |
commit | 1638b8f096ca165965189b9626564c933c79fe63 (patch) | |
tree | a43ee45ed5880772fb34a48991aea62d9b781303 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7d194c2100ad2a6dded545887d02754948ca5241 (diff) |
lib/vdso: Make clock_getres() POSIX compliant again
A recent commit removed the NULL pointer check from the clock_getres()
implementation causing a test case to fault.
POSIX requires an explicit NULL pointer check for clock_getres() aside of
the validity check of the clock_id argument for obscure reasons.
Add it back for both 32bit and 64bit.
Note, this is only a partial revert of the offending commit which does not
bring back the broken fallback invocation in the the 32bit compat
implementations of clock_getres() and clock_gettime().
Fixes: a9446a906f52 ("lib/vdso/32: Remove inconsistent NULL pointer checks")
Reported-by: Andreas Schwab <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Christophe Leroy <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions