Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1632497imj; Fri, 8 Feb 2019 04:56:06 -0800 (PST) X-Google-Smtp-Source: AHgI3IY8omUJrtmqBCuMzAwoTGLE1dED+w0pzGkl4PvKJFj6HwA7C7kK7PePCfqJxPRFrN3t61bw X-Received: by 2002:a17:902:5066:: with SMTP id f35mr22711378plh.78.1549630566723; Fri, 08 Feb 2019 04:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549630566; cv=none; d=google.com; s=arc-20160816; b=AeP+IA0g2arOFJ6vE/xWduwUtItUbHB6UmxN7Es7bz8GhCn0zWacE8nh/IpFSahwFR AvlRoLRzE7mG2J+1tvFlIDe1O73RTT0KhaZunXbOS8uYPV7wLSyoqoZA96WP4K0TeI8x Ktgw0QSW7OcauUUalug+o5qTk6V0L7AeA0PCkRE49evH4BbTvjfykyHyZoZi8ZyR3skH 1rxVhDAcc+o+QPN4AMoG0ePega1lNv2fsO7X8ePFhCu/1BXshTyPstsxiLorRBcBbQT0 HTbyMhlYGHEwlpwvjincNPyYu5cgg3UYiDaAR/XS/k//19+RjMQ9K6cm8DvQ5Z44WdOz a1IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date; bh=jxZSHIIXnYa0atfMfkRqX7j1MVFSZueOBgyoPMU9Gtg=; b=R4e9gzvcXIW1QDB0JTOvTN6cOZ4CDl9vBLz8kYW2r1sAkq9Js7gqOkAXYQvFXU95Zo +BRtwhdnnb63uTCtuah7S7PN7i9mIqKOFz5xUHHS+zgjxVCCL5bq5aggXcTJgEP4X8GE E/+DWZfhQNImg878V1xrLNHJnIcMZvMKEfvgV808TqZ4H4DydKHFBKGRq7HswWhVDY9N LhroBkyoHM4D0kO6ar7x2N1FUIJdLQR+vrAOUgekLOtZfI1jndKIOMxwgm0LUQt/fuSm EvaLmHlvsfQ5vEoIjrTL6jyxYlDbtk7ZLC8JdDoVLQi0KC7COuLARl9rVuI0hSzd0gvU 72yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si2034577pgg.446.2019.02.08.04.55.50; Fri, 08 Feb 2019 04:56:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbfBHMzt (ORCPT + 99 others); Fri, 8 Feb 2019 07:55:49 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:35622 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbfBHMzs (ORCPT ); Fri, 8 Feb 2019 07:55:48 -0500 Received: by mail-qk1-f194.google.com with SMTP id w204so2021989qka.2 for ; Fri, 08 Feb 2019 04:55:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jxZSHIIXnYa0atfMfkRqX7j1MVFSZueOBgyoPMU9Gtg=; b=dC86O3Dwlf0U05U613Iqhhf7BK5td2K/DWUVvFHZSA5P1y21fK8/MXUEpagutJwuCk hrREHVFfNjzjuF+0Biv3CesFqpUDc9A69oGKf3O4VwI2CDWPFXaUXi2wEdJ55RFnWEVX R2UoGpEMkGDiuL5MKOKCAYvmobD6VsHbkTFyHKVQ3XbU8Ok6+ZHnaY/SA38sVqnT8V0z PDIt/oGQH/jcgQ/x9HYVuVapCvYK59HTRsZMfL2y8PDgYFVIUgKjgfFfn1w+nGMjcZIQ 940Fl5yYCMLtONzNR1T6256BoKuHyMBYR/N+YInB3/5rrvQoDfaIZgOZWxVpPXf2guVY PMJw== X-Gm-Message-State: AHQUAuaUSEqBHcRnunOtmn0vKNVnb8Up0/E7xcm4Vzejev6dUgX8R8Wy qDdbmEQGWRP9D9eYvTPPmi6frE6hop4jag== X-Received: by 2002:a37:8784:: with SMTP id j126mr7370940qkd.228.1549630546713; Fri, 08 Feb 2019 04:55:46 -0800 (PST) Received: from redhat.com (pool-173-76-246-42.bstnma.fios.verizon.net. [173.76.246.42]) by smtp.gmail.com with ESMTPSA id q2sm1523674qkc.68.2019.02.08.04.55.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 04:55:45 -0800 (PST) Date: Fri, 8 Feb 2019 07:55:32 -0500 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , dri-devel@lists.freedesktop.org Subject: Re: [PATCH 2/3] drm: tweak header name Message-ID: <20190208075408-mutt-send-email-mst@kernel.org> References: <20190124142448.23243-1-mst@redhat.com> <20190124142448.23243-4-mst@redhat.com> <20190208085659.GI23159@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190208085659.GI23159@phenom.ffwll.local> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 08, 2019 at 09:56:59AM +0100, Daniel Vetter wrote: > On Fri, Feb 08, 2019 at 01:02:58AM -0500, Michael S. Tsirkin wrote: > > Use linux/mman.h to make sure we get all mmap flags we need. > > > > Signed-off-by: Michael S. Tsirkin > > drmP.h is seriously deprecated (and a monster mess). If this fixes > anything, I think would be better to include the right header in the right > places, and leave drmP.h to die quietly ... > > What exactly does this fix? > -Daniel I don't know. I am moving flags from asm/mman.h and if there are direct users which there should not be, some code might break. Even if it's a bad header people copy code around, so why leave wrong examples there? What's the harm in being proactive? > > --- > > include/drm/drmP.h | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/include/drm/drmP.h b/include/drm/drmP.h > > index bdb0d5548f39..a3184416ddc5 100644 > > --- a/include/drm/drmP.h > > +++ b/include/drm/drmP.h > > @@ -57,8 +57,7 @@ > > #include > > #include > > #include > > - > > -#include > > +#include > > #include > > #include > > > > -- > > MST > > > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch