From patchwork Wed Apr 29 10:48:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 11516693 Return-Path: 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 4DB9214B4 for ; Wed, 29 Apr 2020 10:48:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D1062072A for ; Wed, 29 Apr 2020 10:48:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="KRFCio1Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D1062072A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 70A406EA24; Wed, 29 Apr 2020 10:48:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9863C6EA24 for ; Wed, 29 Apr 2020 10:48:27 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200429104825euoutp0217f6e3a49e459f4fc35603a8b8fcc903~KRKfCIUf00340403404euoutp02R for ; Wed, 29 Apr 2020 10:48:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200429104825euoutp0217f6e3a49e459f4fc35603a8b8fcc903~KRKfCIUf00340403404euoutp02R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588157305; bh=DCd5lHjcXeHNQGZUdwhEbvOFkJjRzYTDAVmnV49rff4=; h=From:Subject:To:Cc:Date:References:From; b=KRFCio1Z3MFUoLbO0qvLVMoEq7l6epRYyQsAit7lqNyh5Qc1wdg5azas08/KSQFsR G3BqulSaJAbBJWVnckwwborztAuyeuUtfVFwZ0wlgmgxI27ev31UvGQl5PiUNF3YFL S3+rexwH4W6cQIaz8pOr6zAjY5aG1XT5V07Dm2RU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200429104825eucas1p2d343464550538b22ef93b62ebd388eb9~KRKerUPMm3150931509eucas1p2U; Wed, 29 Apr 2020 10:48:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id A8.7C.61286.97B59AE5; Wed, 29 Apr 2020 11:48:25 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200429104825eucas1p16bf37b71a3ab3a768d1eff6c48eb61dd~KRKeXeTQM3054730547eucas1p1j; Wed, 29 Apr 2020 10:48:25 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200429104825eusmtrp1e7ac526c3c25966d91827a7a9649db2c~KRKeWyyVY0238502385eusmtrp19; Wed, 29 Apr 2020 10:48:25 +0000 (GMT) X-AuditID: cbfec7f2-f0bff7000001ef66-82-5ea95b7981ed Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E2.07.07950.87B59AE5; Wed, 29 Apr 2020 11:48:25 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200429104824eusmtip1cb5327ca35f1f01f0f7bc869da3717db~KRKd1-81i0970609706eusmtip1R; Wed, 29 Apr 2020 10:48:24 +0000 (GMT) From: Bartlomiej Zolnierkiewicz Subject: [PATCH v2] video: fbdev: controlfb: fix build for COMPILE_TEST=y && PPC_PMAC=y && PPC32=n To: Stephen Rothwell , kbuild test robot Message-ID: Date: Wed, 29 Apr 2020 12:48:24 +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 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAKsWRmVeSWpSXmKPExsWy7djPc7qV0SvjDDbtl7RY+PAus8WVr+/Z LE70fWC1uLxrDpvFq+ZHbBYrfm5ltNi69yq7A7tH440bbB57vy1g8Vi85yWTx/3u40weS6Zd ZfP4vEkugC2KyyYlNSezLLVI3y6BK+PSy8OsBR08FW0tf9gbGKdxdTFyckgImEgs/rOVpYuR i0NIYAWjxMN315ggnC+MEk9eHmaGcD4zSlxZchrI4QBrmbPUDyK+nFFiTcN7qPa3jBInHjQx gcxlE7CSmNi+ihHEFhZIkTizYjqYLSIQILFk6jpGkAZmgdWMEoumbGAFSfAK2EkcW30BrJlF QFViz8u7YLaoQITEpweHoWoEJU7OfMICYjMLiEvcejKfCcKWl9j+dg4zxEPL2CWa1/hC2C4S q+8eZYWwhSVeHd/CDmHLSJye3AN2tYTAOkaJvx0vmCGc7YwSyyf/Y4Oospa4c+4XG8jPzAKa Eut36UOEHSU+bf3IDgkKPokbbwUhbuCTmLRtOjSEeCU62oQgqtUkNizbwAaztmvnSqgzPSTm fmpnncCoOAvJZ7OQfDYLyWezEG5YwMiyilE8tbQ4Nz212DAvtVyvODG3uDQvXS85P3cTIzAd nf53/NMOxq+Xkg4xCnAwKvHwbuBZESfEmlhWXJl7iFGCg1lJhPdRxr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P2C2/ wRvyc2kt34XlVZ17fM5Maji5IOzd/vY3a+t5/wn6y7c5vBNW3B5za85UJZbijERDLeai4kQA cVmhHbsCAAA= X-CMS-MailID: 20200429104825eucas1p16bf37b71a3ab3a768d1eff6c48eb61dd X-Msg-Generator: CA X-RootMTR: 20200429104825eucas1p16bf37b71a3ab3a768d1eff6c48eb61dd X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200429104825eucas1p16bf37b71a3ab3a768d1eff6c48eb61dd References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , linux-fbdev@vger.kernel.org, Sam Ravnborg , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 '} from type 'int' Fix it by adding missing PPC32 dependency. Fixes: a07a63b0e24d ("video: fbdev: controlfb: add COMPILE_TEST support") Reported-by: Stephen Rothwell Reported-by: kbuild test robot Cc: Sam Ravnborg Cc: Daniel Vetter Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: fix implicit btext_update_display() function declaration error drivers/video/fbdev/controlfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/video/fbdev/controlfb.c =================================================================== --- a/drivers/video/fbdev/controlfb.c +++ b/drivers/video/fbdev/controlfb.c @@ -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