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

Commit 9857d65d authored by Trishansh Bhardwaj's avatar Trishansh Bhardwaj Committed by Sridhar Gujje
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 578d53ad
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
// 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>
#include <linux/io.h>
@@ -120,6 +120,7 @@ void cam_debug_log(unsigned int module_id, const char *func, const int line,
		pr_info("CAM_DBG: %s: %s: %d: %s\n",
		pr_info("CAM_DBG: %s: %s: %d: %s\n",
			cam_get_module_name(module_id),
			cam_get_module_name(module_id),
			func, line, str_buffer);
			func, line, str_buffer);
		va_end(args);
	}
	}

	va_end(args);
}
}