From patchwork Mon Jun 25 01:18:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Rothwell X-Patchwork-Id: 10484975 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A0EFE60230 for ; Mon, 25 Jun 2018 01:19:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAD62287E2 for ; Mon, 25 Jun 2018 01:19:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB164287E9; Mon, 25 Jun 2018 01:19:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 45F63287E2 for ; Mon, 25 Jun 2018 01:19:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6548089B67; Mon, 25 Jun 2018 01:19:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from ozlabs.org (ozlabs.org [203.11.71.1]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1EDB89B67 for ; Mon, 25 Jun 2018 01:18:59 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41DWXX0Tncz9s2t; Mon, 25 Jun 2018 11:18:50 +1000 (AEST) Date: Mon, 25 Jun 2018 11:18:50 +1000 From: Stephen Rothwell To: Dave Airlie , DRI Subject: linux-next: build failure after merging the drm tree Message-ID: <20180625111850.63faef0e@canb.auug.org.au> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Linux Kernel Mailing List , Alex Williamson , Linux-Next Mailing List , Gerd Hoffmann , Christian =?UTF-8?B?S8O2bmln?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi all, After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this: samples/vfio-mdev/mbochs.c:827:3: error: 'struct dma_buf_ops' has no member named 'map_atomic' .map_atomic = mbochs_kmap_atomic_dmabuf, ^~~~~~~~~~ samples/vfio-mdev/mbochs.c:827:18: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] .map_atomic = mbochs_kmap_atomic_dmabuf, ^~~~~~~~~~~~~~~~~~~~~~~~~ samples/vfio-mdev/mbochs.c:827:18: note: (near initialization for 'mbochs_dmabuf_ops') samples/vfio-mdev/mbochs.c:827:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] samples/vfio-mdev/mbochs.c:827:18: note: (near initialization for 'mbochs_dmabuf_ops.unmap') Caused by commit f664a5269542 ("dma-buf: remove kmap_atomic interface") interacting with commit a5e6e6505f38 ("sample: vfio bochs vbe display (host device for bochs-drm)") from Linus' tree (v4.18-rc1). I added the following just to disable the sample code until it can be repaired. From: Stephen Rothwell Date: Mon, 25 Jun 2018 11:11:38 +1000 Subject: [PATCH] sample: disable the VFIO mdpy example mediated device sample code it was broken by the removal of the dmap-buf kmap_atomic interface. Signed-off-by: Stephen Rothwell --- samples/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/Kconfig b/samples/Kconfig index bd133efc1a56..84bf618ad628 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -135,6 +135,7 @@ config SAMPLE_VFIO_MDEV_MDPY_FB config SAMPLE_VFIO_MDEV_MBOCHS tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only" depends on VFIO_MDEV_DEVICE && m + depends on BROKEN select DMA_SHARED_BUFFER help Build a virtual display sample driver for use as a VFIO