arm/optee: Fix arm32 build
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 28 Jun 2019 13:18:21 +0000 (14:18 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 28 Jun 2019 20:06:18 +0000 (13:06 -0700)
commitcc07ec6107d23ee9a4237686711eede387741c08
tree95c7bf8abb85d4eef04587dab97250b832dc80a1
parent282015930f040cbbc6e187ca7cf288bca18d5fa7
arm/optee: Fix arm32 build

A Travis randconfig build notices:

optee.c: In function ‘allocate_and_pin_shm_rpc’:
optee.c:383:13: error: format ‘%lx’ expects argument of type
   ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Werror=format=]
    gdprintk(XENLOG_WARNING, "Guest tries to use the same RPC SHM cookie %lx\n",
             ^

Use PRIx64 instead of %lx

Full logs https://travis-ci.org/andyhhp/xen/jobs/551754253

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/tee/optee.c