Bug 430429 - s390x: Fix clang compile error in valgrind.h
commit484b7dd1e862b1624cb8e7aa453df277da4f7a15
authorAndreas Arnez <arnez@linux.ibm.com>
Tue, 9 Mar 2021 16:22:47 +0000 (9 17:22 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Tue, 9 Mar 2021 16:36:12 +0000 (9 17:36 +0100)
treef75332653ff05e38963b1a624b6dfea0b2f6688a
parent8b1961511c93962ea2a9b918af8e9c32e3c24d71
Bug 430429 - s390x: Fix clang compile error in valgrind.h

It has been observed that clang emits an error in valgrind.h for the macro
VALGRIND_DO_CLIENT_REQUEST_EXPR:

 "[...] unsupported inline asm: input with type 'int' matching output with
 type 'volatile unsigned long'"

Fix this with an explicit cast of the input to 'unsigned long int.'

The patch has been suggested by Jonathan Albrecht.
NEWS
include/valgrind.h