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

Commit bef4415d authored by Trishansh Bhardwaj's avatar Trishansh Bhardwaj Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: common: va_end should follow va_start



Each  invocation  of  va_start() must be matched by a corresponding
invocation of va_end() in the same function.

CRs-Fixed: 2549155
Change-Id: I6a3214ce863c4af0425d061184cfa44682f89545
Signed-off-by: default avatarTrishansh Bhardwaj <tbhardwa@codeaurora.org>
parent 4e9f21ee
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2018, The Linux Foundataion. All rights reserved.
 * Copyright (c) 2017-2019, The Linux Foundataion. All rights reserved.
 */

#include <linux/io.h>
@@ -115,6 +115,7 @@ void cam_debug_log(unsigned int module_id, const char *func, const int line,
		pr_info("CAM_DBG: %s: %s: %d: %s\n",
			cam_get_module_name(module_id),
			func, line, str_buffer);
		va_end(args);
	}

	va_end(args);
}