if ( shm_rpc_tmp->cookie == cookie )
{
spin_unlock(&ctx->lock);
- gdprintk(XENLOG_WARNING, "Guest tries to use the same RPC SHM cookie %lx\n",
+ gdprintk(XENLOG_WARNING,
+ "Guest tries to use the same RPC SHM cookie %"PRIx64"\n",
cookie);
goto err;
}
if ( optee_shm_buf_tmp->cookie == cookie )
{
spin_unlock(&ctx->lock);
- gdprintk(XENLOG_WARNING, "Guest tries to use the same SHM buffer cookie %lx\n",
+ gdprintk(XENLOG_WARNING,
+ "Guest tries to use the same SHM buffer cookie %"PRIx64"\n",
cookie);
err_code = -EINVAL;
goto err;
if ( found )
free_pg_list(optee_shm_buf);
else
- gdprintk(XENLOG_ERR, "Can't find pagelist for SHM buffer with cookie %lx to free it\n",
+ gdprintk(XENLOG_ERR,
+ "Can't find pagelist for SHM buffer with cookie %"PRIx64" to free it\n",
cookie);
}
* will overwrite it with actual result. So we can just
* continue the call.
*/
- gprintk(XENLOG_ERR, "Can't find SHM-RPC with cookie %lx\n", cookie);
+ gprintk(XENLOG_ERR, "Can't find SHM-RPC with cookie %"PRIx64"\n",
+ cookie);
return -ERESTART;
}
if ( shm_rpc->xen_arg->params[0].attr != (OPTEE_MSG_ATTR_TYPE_TMEM_OUTPUT |
OPTEE_MSG_ATTR_NONCONTIG) )
{
- gdprintk(XENLOG_WARNING, "Invalid attrs for shared mem buffer: %lx\n",
+ gdprintk(XENLOG_WARNING,
+ "Invalid attrs for shared mem buffer: %"PRIx64"\n",
shm_rpc->xen_arg->params[0].attr);
return;
}
if ( !shm_rpc )
{
- gdprintk(XENLOG_ERR, "Can't find SHM-RPC with cookie %lx\n", cookie);
+ gdprintk(XENLOG_ERR, "Can't find SHM-RPC with cookie %"PRIx64"\n",
+ cookie);
return;
}