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

Commit 5d02598b authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

esoc: Fix uninitialized count compilation error



Initialized the count to 0 to avoid the compiler warning/error.

Change-Id: Icd5fbab195afb5bbe0dd55472ede1bfd40e4f4f5
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent ce5f7bfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ static ssize_t last_esoc_req_show(struct device_driver *drv, char *buf)
{
	unsigned int i;
	unsigned long flags;
	size_t count;
	size_t count = 0;

	spin_lock_irqsave(&req_lock, flags);
	for (i = 0; i < ARRAY_SIZE(req_to_str); i++) {