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

Commit 9b0497aa authored by Chandrasekhar Mattaparthy's avatar Chandrasekhar Mattaparthy
Browse files

soc: qcom: bgcom: resolve warning error from compiler



As compiler optimization level updated as optimiize for
performance, compliation will fail even if there is warining.

Change-Id: Idadb5261f33225ed3c07cf24b9fec3bbdcc30484
Signed-off-by: default avatarGanesh Keethol <gkeethol@codeaurora.org>
Signed-off-by: default avatarChandrasekhar Mattaparthy <cmatta@codeaurora.org>
parent d4921e03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ static int bgchar_read_cmd(struct bg_ui_data *fui_obj_msg,
static int bgchar_write_cmd(struct bg_ui_data *fui_obj_msg, int type)
{
	void              *write_buf;
	int               ret;
	int               ret = -EINVAL;
	void __user       *write     = (void *)
			(uintptr_t)fui_obj_msg->write;