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

Commit f5c411d2 authored by Jordan Crouse's avatar Jordan Crouse Committed by Jeremy Gebben
Browse files

msm: kgsl: Fix an uninitialized variable warning



Some compilers hit on an uninitalized variable warning in _load_regfile().
Personally, I don't see it but who am I to question the great wisdom
of the mighty GCC?

Change-Id: Ic0dedbad5a3e0eb66c4c17bc8a5129b812a4febc
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent da176acc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1031,7 +1031,7 @@ static void _load_regfile(struct adreno_device *adreno_dev)
{
	struct kgsl_device *device = &adreno_dev->dev;
	const struct firmware *fw;
	uint32_t block_size, block_total = 0, fw_size;
	uint32_t block_size = 0, block_total = 0, fw_size;
	uint32_t *block;
	int ret = -EINVAL;