Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d4c7fa5 authored by Deepak Kushwah's avatar Deepak Kushwah Committed by Shivendra Kakrania
Browse files

msm vidc: Initialise array elements



Array elements needs to be initialised as the
elements are not initialised by default and may
contain junk data which will lead to unexpected
behaviour.

Change-Id: Ifecb8065b09afcbf11a9dcfbf230403afcdb225d
CRs-Fixed: 2015789
Signed-off-by: default avatarDeepak Kushwah <dkushwah@codeaurora.org>
Signed-off-by: default avatarShivendra Kakrania <shiven@codeaurora.org>
parent 33f45094
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4159,7 +4159,7 @@ static int venus_hfi_get_fw_info(void *dev, struct hal_fw_info *fw_info)
	struct venus_hfi_device *device = dev;
	u32 smem_block_size = 0;
	u8 *smem_table_ptr;
	char version[VENUS_VERSION_LENGTH];
	char version[VENUS_VERSION_LENGTH] = "";
	const u32 smem_image_index_venus = 14 * 128;

	if (!device || !fw_info) {