mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
video: tegra: tsec: Coverity fix
Fix Coverity issue CID 10164610 Initialize values to NULL to avoid uninitialized pointer error. Bug 3461002 Change-Id: Ia1205b09f418c3aa3b9b4e457b944cb71d8c927a Signed-off-by: Sahil Mukund Patki <spatki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2836048 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
f76b77ab85
commit
e15295fcea
@@ -264,8 +264,8 @@ void tsec_comms_drain_msg(bool invoke_cb)
|
||||
struct RM_GSP_INIT_MSG_GSP_INIT *init_msg_body;
|
||||
struct RM_FLCN_QUEUE_HDR *cached_init_msg_hdr;
|
||||
struct RM_GSP_INIT_MSG_GSP_INIT *cached_init_msg_body;
|
||||
callback_func_t cb_func;
|
||||
void *cb_ctx;
|
||||
callback_func_t cb_func = NULL;
|
||||
void *cb_ctx = NULL;
|
||||
u8 tsec_msg[TSEC_MAX_MSG_SIZE];
|
||||
|
||||
msgq_head_reg = tsec_msgq_head_r(TSEC_MSG_QUEUE_PORT);
|
||||
|
||||
Reference in New Issue
Block a user