mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
67bc809752
Storing a bogus i2c_client structure on the stack adds overhead and
causes a compile-time warning:
drivers/tee/optee/rpc.c:493:6: error: stack frame size of 1056 bytes in function 'optee_handle_rpc' [-Werror,-Wframe-larger-than=]
void optee_handle_rpc(struct tee_context *ctx, struct optee_rpc_param *param,
Change the implementation of handle_rpc_func_cmd_i2c_transfer() to
open-code the i2c_transfer() call, which makes it easier to read
and avoids the warning.
Fixes:
|
||
---|---|---|
.. | ||
amdtee | ||
optee | ||
Kconfig | ||
Makefile | ||
tee_core.c | ||
tee_private.h | ||
tee_shm_pool.c | ||
tee_shm.c |