Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp258990pxa; Wed, 26 Aug 2020 09:49:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZWuywiiPku36EIASEyen2a+x0CxjRI9RTH170IW6wqp9dGydk/PEa/Sodc3k2AXHQQ896 X-Received: by 2002:a05:6402:3ce:: with SMTP id t14mr13085237edw.313.1598460577439; Wed, 26 Aug 2020 09:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598460577; cv=none; d=google.com; s=arc-20160816; b=F7jF5OarThP22zbq8A2Dy23khmMpxAovu9h3+aVG9j4zffKrKQUtaJrER9harZiaS2 Uk+tN/BbFF5tDwbZYXMfMOSJYvIbN0vC3ZyhBhT0k4jbKH9tjRjCS3XHlDIjbcCaA8oC 4q9AuD1unT4lNgSb+xLE1mM6V1rFrwWfqSKlkwnydzLP9B8/A7H72iKXdvqv9tTJPshR ODBFBak/6D52InmaAGX8XIzv7jI4h5hxc6iJLpAGjlYvqY4d2LO4shSFa5Cf/zVvfI/i uT+V+VHvZPusX64BFUgQSCbZNJQAwYCRdExjZltMEgqv8mU7sWUqL8DtcI14y2QrrrPp KnTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=b4MA5TpSwk2Pnubg8wuSz4Ft23kjXnr6s/x3xGVfM+o=; b=OLwyVs56dxUi6AN+jN/Xps59d0q0kQwuzx4scMDVf3V7xt+eA1mYsdVCJR26cxkYZ0 TeL+mY3Qi/FjCt1wEiN4x03GrQfTfwx11U/CfFZ3TtvBkwlx/kEIYkCRDc9wNyY/0dil hg5cb8srnipuEDYLWYA5iLL+5/pGQU/UXbocZIEqHI3MgFedcWAxHJtzbzMVKWMGU65D z2zl0Ipmw5CcjwnbeGx7/zTEAUxqk68AL2IPS0hGRPHhtC98iCaI0RUCHiAM4Y3MO9WO VVa/MVlGF85VYQEhYxdMV1binm+ymdD43xh3CezBlyS1zNMyeYmDO0m0/qzQ83Eq6K76 whdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="Jbc2/quw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sa23si2092727ejb.5.2020.08.26.09.49.14; Wed, 26 Aug 2020 09:49:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="Jbc2/quw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgHZQr5 (ORCPT + 99 others); Wed, 26 Aug 2020 12:47:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728239AbgHZQrx (ORCPT ); Wed, 26 Aug 2020 12:47:53 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E31DDC061574; Wed, 26 Aug 2020 09:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=b4MA5TpSwk2Pnubg8wuSz4Ft23kjXnr6s/x3xGVfM+o=; b=Jbc2/quwfgWiTnjRfTG/KEzz2Y J4zprwW81y8Q/7NQYGOfaeyzmBlRKJT08kxTZUwZ8rYxi981RqXykckkHuGQ1rIp1KYT4oeF/vImS +swAZiv3EdCES26pTEVVU9p1lkH2twWmLxU7mMYN88lFVrfFscuqKtSiCtg2rQ6Fg4IDq0IXZeR0e rDpr37I2BFCjdBwO2FCyHScxkqH+h+crnu4zeNsVOh5M9PqEVBDoWRlYa2/oTyOtbFIWGgaEogDlI XmUOv3KKEnbBm8C09HuBKDWP3OByNTJLHezjX3SsfH+r2OgSyMxZ7vHII5PHtoKwqKslTjP3RRudS 0/UAW5BQ==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAyaR-0008Au-ME; Wed, 26 Aug 2020 16:47:47 +0000 To: LKML , "linux-next@vger.kernel.org" , dri-devel , David Airlie , Gerd Hoffmann From: Randy Dunlap Subject: [PATCH] drm: virtio: fix kconfig dependency warning Message-ID: Date: Wed, 26 Aug 2020 09:47:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix kconfig dependency warning by using a different Kconfig symbol. WARNING: unmet direct dependencies detected for VIRTIO_DMA_SHARED_BUFFER Depends on [n]: VIRTIO_MENU [=n] && DMA_SHARED_BUFFER [=y] Selected by [y]: - DRM_VIRTIO_GPU [=y] && HAS_IOMEM [=y] && DRM [=y] && VIRTIO [=y] && MMU [=y] Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Gerd Hoffmann Cc: dri-devel@lists.freedesktop.org Cc: virtualization@lists.linux-foundation.org --- Found in linux-next but applies to mainline. drivers/gpu/drm/virtio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200826.orig/drivers/gpu/drm/virtio/Kconfig +++ linux-next-20200826/drivers/gpu/drm/virtio/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_VIRTIO_GPU tristate "Virtio GPU driver" - depends on DRM && VIRTIO && MMU + depends on DRM && VIRTIO_MENU && MMU select DRM_KMS_HELPER select DRM_GEM_SHMEM_HELPER select VIRTIO_DMA_SHARED_BUFFER