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: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4e9f21ee27
commit
bef4415dc8
@@ -1,6 +1,6 @@
|
||||
// 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user