mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-01 02:33:01 +09:00
security/optee_linuxdriver/core/tee_session.c:683:22: error: address of array 'cmd_io->op->params' will always evaluate to 'true'
[-Werror,-Wpointer-bool-conversion]
BUG_ON(!cmd_io->op->params);
~~~~~~~~~~~~~^~~~~~
/security/optee_linuxdriver/core/tee_kernel_api.c:85:18: error: address of array 'context->devname' will always evaluate to 'true'
[-Werror,-Wpointer-bool-conversion]
&& context->devname) ? context->devname : "");
~~ ~~~~~~~~~^~~~~~~
Change-Id: I6fa7e26fa620b48a0a255393b4279ff1cf1700c3
Signed-off-by: Tao Huang <huangtao@rock-chips.com>