From patchwork Mon Jul 31 07:15:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 108978 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1956027qge; Mon, 31 Jul 2017 00:16:05 -0700 (PDT) X-Received: by 10.80.166.197 with SMTP id f5mr12076417edc.244.1501485364940; Mon, 31 Jul 2017 00:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501485364; cv=none; d=google.com; s=arc-20160816; b=o4Q/s7BzzurFJ5/q+E37Mlvqyz0Akroeq2biWpPJ3u6D4Szo08VBz/wxsnbb3wdmRi LIVCy5WIu1Hylukddvx2qwWUAz8EsuACa7cHGqf4ZUWfiTUvyoqfc3A1FH565ZOwpw3S UpoL92qg7jA66yxBtAQFAwFU1cunrkMJJhyFN+RXkcDBcDsZNIpqSNhpFYv4nvTj6JHL p0qi2asM+1FRigaiwBUYIePkDZBUDklvukFAe8PMmXqXMJFne9ADuXDfh/NqImqnA8Nn 9XWTHjQTeK/nMova6mGqb/pehxNY06bwui+axqA9jhy0mdnHt3ocXeSxY+DyGSNXWxE6 Dv5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :arc-authentication-results; bh=Cm79WBETbcdcv6aFbcGEfU3gPmm4Dt862qiZ1GbPGSE=; b=XKmPufr7BS1zEJfEXTH26sgEi/Niy0oEtWsVGkWW8Nzfghoxl2NTT4Qe13ZxMmpeJk F/CldPxEJ4PYaceBWrWS/Hotkqq/cYEfade+QPvNEYa2KQDPLLkYyFT0t8qmw1JMpeHH 3ona7cQY/EUOeLf9e/1VYduG9o6yHa/RsxwW/MBRx8r2Zj2vVJlFEuB+9LuYG1DxHMdU 0269OrWQ+P1zV/4JWY85eemuMxPNdT5eiW4dPXMMAMiKnbk/ZiFMUd76+mfrjOJ7sQVv Gb2CyG3LX2iXmRjyuN+z/EDF2h7ul2HkTSFVcZItstS/z3yvNtJ/Hpf5H6g2ejpuDY/N v6lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x50si12975980edx.74.2017.07.31.00.16.04; Mon, 31 Jul 2017 00:16:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 7600FC220B0; Mon, 31 Jul 2017 07:16:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B6370C21FE4; Mon, 31 Jul 2017 07:16:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 57E99C21FE4; Mon, 31 Jul 2017 07:16:00 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 85F2CC21FC1 for ; Mon, 31 Jul 2017 07:15:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 16351ACA7; Mon, 31 Jul 2017 07:15:58 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Mon, 31 Jul 2017 09:15:57 +0200 Message-Id: <20170731071557.40314-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: Tom Rini Subject: [U-Boot] [PATCH] efi_loader: Fix warning in efi_gop X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Commit ca9193d2b16 ("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD") dropped the explicit (void*) cast for fb_base in efi gop support for CONFIG_LCD without DM. This patch adds it back, eliminating the now occuring warning again Fixes: ca9193d2b16 ("efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD") Reported-by: Tom Rini Signed-off-by: Alexander Graf --- lib/efi_loader/efi_gop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 806cfaeea1..e063e0c79b 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -155,7 +155,7 @@ int efi_gop_register(void) row = panel_info.vl_row; fb_base = gd->fb_base; fb_size = lcd_get_size(&line_len); - fb = gd->fb_base; + fb = (void*)gd->fb_base; #endif switch (bpix) {