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

Commit c19ccf59 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: Initialize variable before use"

parents 6142e6f5 9577cafc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -463,7 +463,7 @@ static void swap_irq_info_fn(void *a, void *b, int size)
static struct irq_info *search(struct irq_info *key, struct irq_info *base,
			       size_t num, compare_t cmp)
{
	struct irq_info *pivot;
	struct irq_info *pivot = NULL;
	int result;

	while (num > 0) {
@@ -568,7 +568,7 @@ static void compute_irq_stat(struct work_struct *work)
			     arr_size, cmp_irq_info_fn);
		pr_debug("*pos:%u key:%u\n",
				pos->total_count, key.total_count);
		if (pos->total_count >= key.total_count) {
		if (pos && (pos->total_count >= key.total_count)) {
			if (pos < start)
				pos++;
			else