Message ID | ba50c26a-d69b-d88d-b34d-3194971b1018@samsung.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <SRS0=ExeI=6N=vger.kernel.org=linux-fbdev-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 05DF892C for <patchwork-linux-fbdev@patchwork.kernel.org>; Wed, 29 Apr 2020 08:07:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA44520787 for <patchwork-linux-fbdev@patchwork.kernel.org>; Wed, 29 Apr 2020 08:07:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="TMmFdxgL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726423AbgD2IHY (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Wed, 29 Apr 2020 04:07:24 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57044 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgD2IHX (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Wed, 29 Apr 2020 04:07:23 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200429080421euoutp010eec8bd3821282bf69f453e7e34f7413~KO7OlnuFe0557005570euoutp01H for <linux-fbdev@vger.kernel.org>; Wed, 29 Apr 2020 08:04:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200429080421euoutp010eec8bd3821282bf69f453e7e34f7413~KO7OlnuFe0557005570euoutp01H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588147461; bh=8wZtlNmNqWWCVeLYNpsp4VIu5nk8QGOZAUKwMJbtN/c=; h=From:Subject:To:Cc:Date:References:From; b=TMmFdxgL0pvECJ65yOE1rLx2y6MZMs022kBMHcOQRiSTmuMdtb7YijJXrE8+bg/3T fS5d//WJ5HwDSHWQVFcXqIwHOP2hWSS/0CrucEVfDPthExBcrMbaoMpcdpyyL7l5uJ qD8UaZv+3lSnyNGyb1+RuKcLup1n92unK0XwDTXY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200429080407eucas1p2398f54b5f3116b986dca2c0d9ea8aaed~KO7BT0cP-1544915449eucas1p2j; Wed, 29 Apr 2020 08:04:07 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 23.3E.60679.7F439AE5; Wed, 29 Apr 2020 09:04:07 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200429080406eucas1p21147ed99ad98332729c2a2aff2a33fb2~KO7BBpZ9U1544915449eucas1p2i; Wed, 29 Apr 2020 08:04:06 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200429080406eusmtrp28f80f2181d97d267a8a40ba2cabbca4b~KO7A_lh_p1582015820eusmtrp23; Wed, 29 Apr 2020 08:04:06 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-22-5ea934f75dd1 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 79.DB.07950.6F439AE5; Wed, 29 Apr 2020 09:04:06 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200429080406eusmtip1e05c22505112d3c95906e63981b56f34~KO7Ap0eWQ2927929279eusmtip1E; Wed, 29 Apr 2020 08:04:06 +0000 (GMT) From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Subject: [PATCH] video: fbdev: controlfb: fix build for COMPILE_TEST=y && PPC_PMAC=y && PPC32=n To: Stephen Rothwell <sfr@canb.auug.org.au>, kbuild test robot <lkp@intel.com> Cc: Sam Ravnborg <sam@ravnborg.org>, Daniel Vetter <daniel.vetter@ffwll.ch>, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Message-ID: <ba50c26a-d69b-d88d-b34d-3194971b1018@samsung.com> Date: Wed, 29 Apr 2020 10:04:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHeXe2s+NycpyGDxZpC4UEb2k00qRAaAaFH/pQYurKg4o6bUdn VoQZlNjNTFcNo5y2qYUu70qKzlsXNSnNZTcdi1SYRt6a6MzjmeS33/O8z+99/w+8BCZ6yXMn kuQZlEIuSxHjAm5jr/W971JwZUyAysCTlE58wyTDC7O45PWd3zzJx9YSXDJ9zYRLKqwNSNLQ NsI/zJdeNRpxadviU6607NUUR/rjZh9HWq4awaVztbsi8ShBaDyVkqSkFP5hcYLEocFabrpe eGG+eYmXg7Tb8pEDAWQw6Ho7eflIQIjICgTDg/04W8wj+Pmrm88WcwisZit3U7HUjdsVHYL+ EZNdsSBY/nKXz0zh5EG4d6MKMexCyqB9vB1n2JWMhPLiasQIGPkcgaZIv34VQQjJMOgZiGJm uKQXWFUNG+528hT8Ge/iMSwkneHNI/NGCox0gzHzEw7LHtBkKcGYO4Gs4sOnoVGcjRoOi8+6 +Sy7wHRfvZ13wloLIzNCNYLVvEm73YRAd99mt0Pg6+AyzqTDyL1Q0+rPto+ApqYUY9pAOoHR 4syGcILCxgf2thDyrovYaW/Qa/X45rP5LZUYy1LomunAC9Bu9ZbV1FtWU29ZTf0/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4TyXcdrUiNOy iyxPWSVxViUEfU6KOh1wkTPm9cttN0rjV63e/l146eISzqmv6nrC69+u05faMTNZw/nVJdvK 6IVf018uuJi0qrbcttByprVIke9qqcnnfNtsshzbtjK4n7n42zVgtu3r/tNKLMUZiYZazEXF iQDxne+AuwIAAA== X-CMS-MailID: 20200429080406eucas1p21147ed99ad98332729c2a2aff2a33fb2 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200429080406eucas1p21147ed99ad98332729c2a2aff2a33fb2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200429080406eucas1p21147ed99ad98332729c2a2aff2a33fb2 References: <CGME20200429080406eucas1p21147ed99ad98332729c2a2aff2a33fb2@eucas1p2.samsung.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> X-Mailing-List: linux-fbdev@vger.kernel.org |
Series |
video: fbdev: controlfb: fix build for COMPILE_TEST=y && PPC_PMAC=y && PPC32=n
|
expand
|
Index: b/drivers/video/fbdev/controlfb.c =================================================================== --- a/drivers/video/fbdev/controlfb.c +++ b/drivers/video/fbdev/controlfb.c @@ -47,7 +47,7 @@ #include <linux/nvram.h> #include <linux/adb.h> #include <linux/cuda.h> -#ifdef CONFIG_PPC_PMAC +#if defined(CONFIG_PPC_PMAC) && defined(CONFIG_PPC32) #include <asm/prom.h> #include <asm/btext.h> #endif @@ -55,7 +55,7 @@ #include "macmodes.h" #include "controlfb.h" -#ifndef CONFIG_PPC_PMAC +#if !defined(CONFIG_PPC_PMAC) || !defined(CONFIG_PPC32) #define invalid_vram_cache(addr) #undef in_8 #undef out_8
powerpc allyesconfig fails like this: drivers/video/fbdev/controlfb.c: In function 'controlfb_mmap': drivers/video/fbdev/controlfb.c:756:23: error: implicit declaration of function 'pgprot_cached_wthru'; did you mean 'pgprot_cached'? [-Werror=implicit-function-declaration] 756 | vma->vm_page_prot = pgprot_cached_wthru(vma->vm_page_prot); | ^~~~~~~~~~~~~~~~~~~ | pgprot_cached drivers/video/fbdev/controlfb.c:756:23: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct <anonymous>'} from type 'int' Fix it by adding missing PPC32 dependency. Fixes: a07a63b0e24d ("video: fbdev: controlfb: add COMPILE_TEST support") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: kbuild test robot <lkp@intel.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> --- drivers/video/fbdev/controlfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)