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

Commit 758ca311 authored by Chandrasekhar Mattaparthy's avatar Chandrasekhar Mattaparthy
Browse files

video: fbdev: msm: resolve warning error from compiler



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

Change-Id: I7cb54c337649027aac4739fbe02a5d8c4c880267
Signed-off-by: default avatarGanesh Keethol <gkeethol@codeaurora.org>
Signed-off-by: default avatarChandrasekhar Mattaparthy <cmatta@codeaurora.org>
parent 9b0497aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2019,2020 The Linux Foundation. All rights reserved.
 * Copyright (C) 2007 Google Incorporated
 *
 * This software is licensed under the terms of the GNU General Public
@@ -1382,7 +1382,7 @@ int mdp3_get_img(struct msmfb_data *img, struct mdp3_img_data *data, int client)
{
	struct fd f;
	int ret = -EINVAL;
	int fb_num;
	int fb_num = 0;
	struct ion_client *iclient = mdp3_res->ion_client;
	int dom = (mdp3_res->domains + MDP3_IOMMU_DOMAIN_UNSECURE)->domain_idx;