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

Commit 1b855e16 authored by Daniel Axtens's avatar Daniel Axtens Committed by Michael Ellerman
Browse files

powerpc: Add missing calls to va_end()



cppcheck picked up that there were a couple of missing va_end()
calls in functions using va_start().

Signed-off-by: default avatarDaniel Axtens <dja@axtens.net>
Reviewed-by: default avatarRussell Currey <ruscur@russell.cc>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e9d764f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -389,6 +389,7 @@ static void __init prom_printf(const char *format, ...)
			break;
		}
	}
	va_end(args);
}


+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ static void __init bootx_printf(const char *format, ...)
			break;
		}
	}
	va_end(args);
}
#else /* CONFIG_BOOTX_TEXT */
static void __init bootx_printf(const char *format, ...) {}